JavaScript Promise implementation, just a re-invented wheel without performance optimization. Super thanks to promises-aplus-tests project for all test cases.
Just use it like any other Promise libraries.
npm install hi-promise --save
var Promise = require('hi-promise');
var p = new Promise(function(resolve, reject) {});
npm install
And then,
npm run test