Skip to content

JamesKyburz/install-missing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install-missing

js-standard-style Greenkeeper badge

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 {}

video

cli usage

install-missing [file] default is entry file in package.json

browserify plugin

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

install

With npm do:

npm install -g install-missing

license

MIT

About

installs missing modules and saves as dependencies in package.json

Resources

License

Stars

Watchers

Forks

Packages

No packages published