pkg-refs
v1.1.0
Published
Simple tool to take a quick look on given package's dependencies.
Downloads
3
Readme
Pkg-Refs
Simple tool to take a quick look on given package's dependencies.
Install
npm install -g pkg-refs
Usage
Command line tool with short-form pkgd. After a short time, it will list out all the dependecies and the decriptions for them.
# search package name online
pkgd <package name>
# parse local package.json
pkgd < package.json
package.json | pkgd
# or give the path to package.json
pkgd anyProject/package.json
# even shorter, cd to project folder,
# and read the package.json automatically
pkgd .
Example
$ pkgd express
----------- Dependencies for express----------------
cookie
> HTTP server cookie parsing and serialization
accepts
> Higher-level content negotiation
content-type
> Create and parse HTTP Content-Type header
content-disposition
> Create and parse Content-Disposition header
array-flatten
> Flatten nested arrays
: