0.1.7 • Published 8 years ago

npm-auto-install v0.1.7

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

npm version Dependency Status devDependency Status Build Status Coverage Status

Usage

Install with :

npm install -g npm-auto-install

Usage command line (in npm project):

nai

  missing : koa (index.js)
  missing : koa-jwt (index.js)
  unused : koa-route

Or with auto install uninstall :

nai -iu

Or with gulp watch :

var gulp = require('gulp');
var AutoInstall = require('npm-auto-install');
gulp.task('nai', function(){
  return new AutoInstall().detectMissing(process.cwd(),{install: true, force:true, uninstall: true});
});

gulp.task('watch', function(){
  gulp.watch(['./**/*.js', '!./node_modules/**'], ['nai']);
});

Contrib

Please file an issue on github! Contributors are responsive and happy to assist.

Pull requests are also welcome :)

0.1.7

8 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago