🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

pinkie-promise

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinkie-promise

ES2015 Promise ponyfill

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
14M
5.44%
Maintainers
1
Weekly downloads
 
Created
Source

pinkie-promise Build Status

ES2015 Promise ponyfill

Module exports global Promise object (if available) or pinkie Promise polyfill.

Install

$ npm install --save pinkie-promise

Usage

var Promise = require('pinkie-promise');

new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }
  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky

Keywords

promise

FAQs

Package last updated on 10 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts