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.1 to 0.0.2

2

package.json
{
"name": "@atomiq/promisify",
"version": "0.0.1",
"version": "0.0.2",
"description": "Convert callback-based functions to use io.js promises",

@@ -5,0 +5,0 @@ "engines": {

@@ -1,3 +0,3 @@

promisify-iojs
==============
@atomiq/promisify
=================

@@ -11,3 +11,3 @@ [![npm version](https://badge.fury.io/js/promisify-iojs.svg)](http://badge.fury.io/js/promisify-iojs)

Promisify an object or function and it will over all member properites
Promisify an object or function and it will walk over all member properites
and up prototype chains to ensure all callback-style async functions are converted

@@ -20,6 +20,12 @@ to promises. The easiest thing is to just promisify modules when loading them.

Under the hood, @atomiq/promisify uses [denodeify](https://www.npmjs.com/package/denodeify)
to create the promise wrapper over individual async functions.
This package uses the new scoped package support available with `npm` versions greater than 2.7.0.
If you're not familiar with using scoped packages, see [this page](https://docs.npmjs.com/getting-started/scoped-packages).
## Example: promisify a loaded module
```js
const promisify = require('promisify-iojs');
const promisify = require('@atomiq/promisify');

@@ -26,0 +32,0 @@ const fs = promisify(require('fs'));

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