0.1.8 • Published 7 years ago

node-package-recovery v0.1.8

Weekly downloads
3
License
ISC
Repository
-
Last release
7 years ago

npr

travisci

npm package

GITHUB

Did you npm install someModule without the --save or didn't commit your new app to git and accidently removed the package.json file? This tool is used to generate a package.json file from your node_modules directory in such scenario.

[list -l --list] = list all node modules
[edit -e] = recreate the dependencies in package.json
[write -w] = write a package.npr.json file
[new -n] = write a new package.json file

Install:

Requires node version > 5

NPM

** Make sure you install with -g flag

npm install node-package-recovery -g

From source

git clone git@github.com:danbickford007/node_module_recovery.git

cd node_module_recovery

npm install

grunt

Usage :

list all modules and versions

npr list

npr -l

npr --list

create a package.npr.json file

npr write

npr -w

edit your package.json dependencies

npr edit

npr -e

create a new package.json file

npr new

npr -n

Dev

Install: grunt

Test

Run tests within tests/ directory

./../node_modules/mocha/bin/mocha .

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.1

7 years ago