@atomiq/promisify
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@atomiq/promisify", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Convert callback-based functions to use io.js promises", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -11,3 +11,3 @@ @atomiq/promisify | ||
`promisify-iojs` is a very lightweight implementation that wraps callback-style async | ||
`promisify` is a very lightweight implementation that wraps callback-style async | ||
functions with native io.js promises. | ||
@@ -19,7 +19,7 @@ | ||
`promisify-iojs` looks for functions that have one of the following names as the last | ||
`promisify` looks for functions that have one of the following names as the last | ||
parameter: `callback`, `cb`, `done`, `callback_`, `cb_`. It recognizes both standard | ||
functional declarations as well as ES6 fat arrow functions. | ||
Under the hood, @atomiq/promisify uses [denodeify](https://www.npmjs.com/package/denodeify) | ||
Under the hood, `promisify` uses [denodeify](https://www.npmjs.com/package/denodeify) | ||
to create the promise wrapper over individual async functions. | ||
@@ -92,2 +92,9 @@ | ||
### More examples | ||
See tests for more examples. | ||
npm test | ||
## A bit more information | ||
@@ -135,5 +142,1 @@ | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
139
61049