pjc

package-json-cli

Get the package.json of a package from the npm registry

Showing:

Popularity

Downloads/wk

5

GitHub Stars

15

Maintenance

Last Commit

9mos ago

Contributors

1

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

package-json-cli Build Status

Get the package.json of a package from the npm registry

Install

$ npm install --global package-json-cli

Usage

$ package-json --help

  Usage
    $ package-json <name> [version]

  Example
    $ package-json ava
    {
      "name": "ava",
      "version": "0.18.0"
      ...
    }

The version can be in any format supported by the semver module. For example:

  • 1 - get the latest 1.x.x
  • 1.2 - get the latest 1.2.x
  • ^1.2.3 - get the latest 1.x.x but at least 1.2.3

License

MIT © Sindre Sorhus

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100