1.1.0 • Published 6 years ago

pkg-refs v1.1.0

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

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
    :