install-missing-require
v1.0.0
Published
Install the modules used in the require
Downloads
7
Readme
install-missing-require
This project just installs the modules(with the latest version) that are not present in package.json but used in the code using require statement.
####What it does####
- Installs the node modules with the same version, present in the package.json.
- Installs the node modules with the latest version, not present in package.json but used in code.
- Updates the newly installed modules in the package.json(basically npm does it).
- Neglect the modules like fs, path,... which belongs to the nodejs
- Neglect the local required modules
####Usability is simple####
- Download or clone this project.
- cd to this project.
- Run "npm install".
- Run "coffee index.coffee /path/to/src/dir/of/your/code".
####Sample#### For sample run "coffee index.coffee /test/data"