packagephobia-cli
「 cli for packagephobia 」
Install
npm i -g packagephobia-cli
or
npx packagephobia-cli tap commander@2.15.0
Usage
packagephobia-cli tap commander
✔ tap@12.0.1
Publish Size:108kB
Install Size:21.1MB
✔ commander@2.17.1
Publish Size:60.7kB
Install Size:60.7kB
-m
flag
Can show you the pkg markdown style with install size.
node cli.js express -m✔ express4.16.4Publish Size:202 kBInstall Size:1.54 MB [![install size]]
cli
Usage: cli <name> [options]
show pkg size
Options:
-v, --version output the version number
-D, --debug [debug] debug: boolean/string (default: false)
-m, --markdown show the markdown link
-h, --help output usage information
concat
- two-log-min just two log with ora/debug
License
MIT © chinanf-boy