floatdrop/pinkie-promise


Promise ponyfill with pinkie

License: MIT

Language: JavaScript


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

Project Statistics

Sourcerank 16
Repository Size 5.86 KB
Stars 108
Forks 14
Watchers 4
Open issues 1
Dependencies 2
Contributors 3
Tags 3
Created
Last updated
Last pushed

Top Contributors See all

Vsevolod Strukchinsky Sindre Sorhus Denis Bardadym

Packages Referencing this Repo

pinkie-promise
ES2015 Promise ponyfill
Latest release 2.0.2 - Updated - 108 stars
org.webjars.npm:pinkie-promise
WebJar for pinkie-promise
Latest release 2.0.1 - Updated - 108 stars

Recent Tags See all

v2.0.1 April 10, 2016
v2.0.0 November 12, 2015
v1.0.0 May 13, 2015

Something wrong with this page? Make a suggestion

Last synced: 2018-01-06 19:19:58 UTC

Login to resync this repository