stat-line
v0.3.19
Published
A line of code statistics tool and can specify file type
Maintainers
Readme
A line of code statistics tool and can specify file type
Installation
npm i stat-line -gUsage
line [path] [options]path
If you want to use [path]. You need to use relative path. default [path] is [./]
options
-rOpen recursion folders, no recursion by default-tSpecify the type of file to be counted-especify exclude folder-hDisplay help information
Examples
- All
JSfiles in the current path are counted by default
line - If you need recursion all folder, please use
-r
line -r- count current path
scssfile lines
// Methods a
line -t scss
// Methods b
line ./ -t scss - count current path
scsscssjsfile lines
line -t scss css js- custom path
// [./src] Change to your custom relative path
line ./src- Display help information
line -hMore features
Please refer to the help documentation. line -h
todoList
- [x] Specify folders that do not need statistics
- [x] can recursion
- [x] can specify file type
- [x] help documentation
