0.1.1 • Published 9 years ago

@isoden/promise-polyfill v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

promise-polyfill

npm

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