0.1.2 • Published 2 years ago

@chuanjing.li/code-counter v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

安装

$ npm install -g counter / cnpm install -g counter

使用

基础用法

$ counter

导出到html

$ counter -o

功能

  • 输出空行,实际行数,总行数
  • 支持400+语言
  • 显示遍历速度
  • 显示多种颜色
  • 支持导出html
  • 自定义统计路径
  • 自定义忽略文件/目录

参数

Usage: index options

Options:

-V, --version        output the version number
-i, --ignore [path]  ignore path | <example> counter -i './dist,./src'
-p, --path [path]    counter path | <example> counter -p './dist'
-o, --output         ouput html | <example> counter -o
-h, --help           output usage information

效果图

基础模式

导出后打开html

License

MIT

Copyright (c) 2018 蓝色的秋风