Lightweight wrapper for accessing npm programmatically (alternative to adding
npm as a dependency)
require('npm') seems like a good idea, but it adds tons of weight to your module, since it takes a long time to install. Why not use the
npm your users already have?
cache-min, see: https://github.com/isaacs/npm/issues/2568#issuecomment-30626394 re:
loglevel, see: https://github.com/isaacs/npm/pull/4320
$ npm install enpeem --save
var npm = ;
diroption controls where the NPM package will be installed as a dependency. If
diris unspecified, it defaults to the current working directory. If
diris a relative path, it will be resolved relative to the current working directory.