Noiseless Peaceful Morning
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

npm-as-promised

0.0.7 • Public • Published

About

Allows you to interact with the npm commands using es6 promises instead of callbacks

Install

npm install npm-as-promised --save-dev

Usage

npm.load and all npm.commands are now wrapped in a promise api. See below:

npm.load(config).then(function(){
    //do cool stuff
}).catch(function(){
    //Something went wrong, not cool
)
 

Keywords

install

npm i npm-as-promised

Downloadsweekly downloads

6

version

0.0.7

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability