Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 674 Bytes

readme.md

File metadata and controls

31 lines (20 loc) · 674 Bytes

Promise

An ES6 Promise polyfill.

Build Status

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 (not really recomended good practice in node, but do as you will)
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