0.1.5 • Published 1 year ago

npm-package-stat v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

npm-package-stat

A command line tool to generate npm package statistics with csv format

Installation

npm i -g npm-package-stat

Usage

basic

npm-package-stat <path/to/project1> <path/to/project2> ...

alt text

with options

npm-package-stat -D /path/to/project # Only extract devDependencies
npm-package-stat -D -O /path/to/project # Only extract devDependencies and optionalDependencies
-S             Only include dependencies                
-D             Only include devDependencies             
-O             Only include optionalDependencies        
-P             Only include peerDependencies            

filter with depth

npm-package-stat /path/to/project --max-depth=0 # Only extract dependencies with depth = 0
npm-package-stat /path/to/project --max-depth=1 # Only extract dependencies with depth <= 1

npm-package-stat /path/to/project --depth=1 # Only extract dependencies with depth >= 1

npm-package-stat /path/to/project --depth=1 --max-depth=2 # Only extract dependencies with depth between 1 and 2
0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago