npe
A CLI for one-off inspection and editing of properties in package.json files.
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install npe --global
Usage
cd some/node/project
npe name
npe scripts
npe scripts.test
npe repository.url
open $(npe repository.url)
npe name foo
npe scripts.start "node index.js"
npe name --package=some/other/package.json
npe name other --package=some/other/package.json
Tests
npm install
npm test
Dependencies
- minimist: parse argument options
- steeltoe: Don't shoot yourself in the foot while traversing JavaScript objects.
Dev Dependencies
- mocha: simple, flexible, fun test framework
- nixt: Simple and powerful testing for command-line apps
License
MIT
Colophon