0.1.1 • Published 9 years ago
@isoden/promise-polyfill v0.1.1
promise-polyfill
reinventing the wheel ES6 Promise
lightweight 4kb!
Installation
$ npm install @isoden/promise-polyfill --save
Usage
import Promise from '@isoden/promise-polyfill';
new Promise((resolve) => {
setTimeout(resolve, 1000);
})
.then(() => {
console.log('after 1000ms');
});
Todo
- Write test code! :memo:
- Write docs! :memo:
Development
$ npm install
$ npm start # watching src files
$ npm test # running test
License
MIT License
http://isoden.mit-license.org
Maintained by isoden