Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
80 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1 +1,2 @@ | ||
node_modules | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,4 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- '10' | ||
- '8' | ||
- '6' | ||
- '4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,51 +1,51 @@ | ||
{ | ||
"name": "pify", | ||
"version": "3.0.0", | ||
"description": "Promisify a callback-style function", | ||
"license": "MIT", | ||
"repository": "sindresorhus/pify", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava && npm run optimization-test", | ||
"optimization-test": "node --allow-natives-syntax optimization-test.js" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"promise", | ||
"promises", | ||
"promisify", | ||
"all", | ||
"denodify", | ||
"denodeify", | ||
"callback", | ||
"cb", | ||
"node", | ||
"then", | ||
"thenify", | ||
"convert", | ||
"transform", | ||
"wrap", | ||
"wrapper", | ||
"bind", | ||
"to", | ||
"async", | ||
"await", | ||
"es2015", | ||
"bluebird" | ||
], | ||
"devDependencies": { | ||
"ava": "*", | ||
"pinkie-promise": "^2.0.0", | ||
"v8-natives": "^1.0.0", | ||
"xo": "*" | ||
} | ||
"name": "pify", | ||
"version": "3.0.0", | ||
"description": "Promisify a callback-style function", | ||
"license": "MIT", | ||
"repository": "sindresorhus/pify", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=6" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava", | ||
"optimization-test": "node --allow-natives-syntax optimization-test.js" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"promise", | ||
"promises", | ||
"promisify", | ||
"all", | ||
"denodify", | ||
"denodeify", | ||
"callback", | ||
"cb", | ||
"node", | ||
"then", | ||
"thenify", | ||
"convert", | ||
"transform", | ||
"wrap", | ||
"wrapper", | ||
"bind", | ||
"to", | ||
"async", | ||
"await", | ||
"es2015", | ||
"bluebird" | ||
], | ||
"devDependencies": { | ||
"ava": "*", | ||
"pinkie-promise": "^2.0.0", | ||
"v8-natives": "^1.1.0", | ||
"xo": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -6,7 +6,7 @@ | ||
## Install | ||
|
||
``` | ||
$ npm install --save pify | ||
$ npm install pify | ||
``` | ||
|
||
|
||