npmwrap
API interface for common npm commands. Can be executed synchronously, asynchronously, or via promises.
Installation
$ npm install npmwrap
Examples
Install packages in one of three ways.
var npm = ; // Syncnpm; // Asyncnpm; // Promisevar promise = npm;
API
Commands
- install, installSync
- link, linkSync
- uninstall, uninstallSync
- unlink, unlinkSync
- update, updateSync
Flags
- save
- saveDev
- global
- cwd (current working directory)
License
MIT