pinkie-promise
ES2015 Promise ponyfill
Last updated 9 years ago by floatdrop .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install pinkie-promise 
SYNC missed versions from official npm registry.

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' }

Related

  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky

Current Tags

  • 2.0.1                                ...           latest (9 years ago)

3 Versions

  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago

Copyright 2013 - present © cnpmjs.org | Home |