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 29,495
This Week 59,093
This Month 163,546
Last Day 29,598
Last Week 163,009
Last Month 690,750
Dependencies (1)
Dev Dependencies (1)
Dependents (503)

Copyright 2014 - 2016 © taobao.org |