Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hua1995116/linec
:candy:一个高颜值命令行统计代码行数的计数器。(counts lines of code)
https://github.com/hua1995116/linec
code count lines nodejs
Last synced: 9 days ago
JSON representation
:candy:一个高颜值命令行统计代码行数的计数器。(counts lines of code)
- Host: GitHub
- URL: https://github.com/hua1995116/linec
- Owner: hua1995116
- License: mit
- Created: 2018-08-07T13:59:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T17:34:48.000Z (about 3 years ago)
- Last Synced: 2024-10-12T04:13:57.248Z (24 days ago)
- Topics: code, count, lines, nodejs
- Language: JavaScript
- Homepage:
- Size: 94.7 KB
- Stars: 125
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - linec
README
linec
# 安装
```
$ npm install -g linec / cnpm install -g linec```
# 使用
基础用法
```shell
$ linec
```导出到html
```shell
$ linec -o
```# 功能
- 输出空行,实际行数,总行数
- 支持400+语言
- 显示遍历速度
- 显示多种颜色
- 支持导出html
- 自定义统计路径
- 自定义忽略文件/目录# 参数
Usage: index [options]
Options:
-V, --version output the version number
-i, --ignore [path] ignore path | linec -i './dist,./src'
-p, --path [path] linec path | linec -p './dist'
-o, --output ouput html | linec -o
-h, --help output usage information# 效果图
基础模式导出后打开html
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2018 蓝色的秋风