es-prom

1.0.1 • Public • Published

prom.js


Enhanced version of Promise, also a polyfill for Promise.

What?

Prom covers all the features of Promise, but also extend extra features.
new Prom( function(resolve, reject) {...} /* executor */ );
Prom.all(iterable);
Prom.race(iterable);
Prom.reject(reason);
Prom.resolve(value);
Prom.each(iterable);
You could see more details in demo please.

Why?

Prom is more concise and powerful. Not only full features, but also better browser compatibility.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    16

Package Sidebar

Install

npm i es-prom

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

14.5 kB

Total Files

7

Last publish

Collaborators

  • alley_luo