1.2.0 • Published 8 years ago

source-count v1.2.0

Weekly downloads
5
License
WTFPL
Repository
github
Last release
8 years ago

中文文档

Installation

npm install source-count -g

Usage

jscount

in current directory


jscount ../foo

count ../foo


jscount -m 0

only display total,do not display detail


jscount -i libs

ignore libs directory


jscount -i libs -i public/libs

ignore libs and public/libs dirs


jscount -e "\.php$"

count php file:)

Arguments

--all -a in default won't display directories that didn't has code at all,use this arg to show them up

--ignore -i ignore path, can be directory name or file name ,input relative path from cwd

--exp -e custom file name RegExp,only name can match this will be count

--max-depth -m display max depth, deep than this will be count but won't be display

---help -h help

1.2.0

8 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.1

9 years ago