Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Octane/Promise

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ES6 Promise polyfill Build Status

NPM

To use the Promise polyfill, just drop two JavaScript files into your page:

<script src="setimmediate.js"></script>
<script src="promise.js"></script>

or load as the Node.js module:

var Promise = require('es6-promises');

Download the latest Promise polyfill from GitHub.

npm

npm install es6-promises

Bower

bower install promises

Dependencies

The Promise polyfill requieres setImmediate (msdn, nodejs, polyfill).

Tests

Promises/A+ logo Promises/A+ compliant

git clone https://github.com/Octane/Promise.git
cd Promise
npm install
npm test

License

The Promise polyfill is released under the MIT license.