No more typing npm install
This module finds out the modules needed to be installed and saves to
package.json
Intended for the lazy developer
When paired with hihat it gives you a requirebin like experience!
If package.json
is missing it will be created with {}
install-missing [file] default is entry file in package.json
This will allow you to browserify uninstalled modules!
browserify -p $(which install-missing)
or
use with hihat
hihat index.js -- -p $(which install-missing)
The default argument sent to npm install is --save
,
to change this set NPM_ARGS
To exclude electron builtin modules run command with ELECTRON=true
set
With npm do:
npm install -g install-missing
MIT