0.1.0 • Published 10 years ago
promise-es6 v0.1.0
Promise
An ES6 Promise polyfill.
Install
$ npm install [--save] promise-es6
Usage
// Load for use in this one place ...
var Promise = require('promise-es6').Promise;
// ... or make a global polyfill
require('promise-es6').install();
Running tests
We rely on promises-aplus-tests for unit testing. The tests can be run with the following:
$ npm install
$ npm test