Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atomiq/promisify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomiq/promisify - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc