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                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 238
This Week 238
This Month 267,126
Last Day 6,109
Last Week 114,038
Last Month 472,355
Dependencies (1)
Dev Dependencies (1)
Dependents (498)

Copyright 2014 - 2017 © taobao.org |