npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

source-count

1.2.0 • Public • Published

中文文档

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

Keywords

install

npm i source-count

Downloadsweekly downloads

42

version

1.2.0

license

WTFPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability