pinkie-promise / 2.0.1 last updated 4 months ago created on May 13th 2015

Install

npm install --save pinkie-promise

Clone

git clone git@github.com:floatdrop/pinkie-promise.git

dependencies

main pinkie 2.0.4 MIT

maintainers

floatdrop floatdrop

versions

2.0.1 4 months ago floatdrop
2.0.0 9 months ago floatdrop
1.0.0 a year ago floatdrop
151065 Downloads yesterday.

readme

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

1
2
3
4
var Promise = require('pinkie-promise');

new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }

Related

  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky

Resolving all dependencies.. This could take a while as our cache is not yet fully warmed up.