@isoden/promise-polyfill
v0.1.1
Published
[reinventing the wheel] ES6 Promise
Downloads
3
Readme
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