shurintou / count-function-lines

A script to count each function's lines in your Javascript file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

count-function-lines

NodeJs babel-parser @vue/compiler-sfc java-parser NPM

What is it?

This is a tool that helps you count lines number of each function in your files.

Try the demo,

or import the example project and run it at local.

Supporting file type

The following file types are currently supported. Javascript, Typescript, jsx, tsx, Vue.js(both vue2 and vue3), Java.

About the demo

The demo is developed by Vue.js and is a totally pure-frontend project, any codes uploaded will just be kept in the browser's memory only.

Please check the development branch and the production branch for more details if you get interested.

About the example

The example project is more convenient to traverse folders and count multiple files because of the browser's limitation in file system. Developers who need to refactor their codes by some line-number-rules can take advantage of it.

About

A script to count each function's lines in your Javascript file

License:MIT License


Languages

Language:JavaScript 100.0%