@isoden/promise-polyfill
[reinventing the wheel] ES6 Promise
Last updated 4 years ago by isoden .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @isoden/promise-polyfill 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.1                                ...           latest (4 years ago)

2 Versions

  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 3
Last Day 0
Last Week 0
Last Month 0
Dependencies (19)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |