pinkie-promise
ES2015 Promise ponyfill
Last updated 4 years ago by floatdrop .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (4 years ago)

3 Versions

  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 701
This Week 29,088
This Month 509,503
Last Day 28,387
Last Week 157,210
Last Month 677,360
Dependencies (1)
Dev Dependencies (1)
Dependents (503)

Copyright 2014 - 2016 © taobao.org |