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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i es-prom

      Weekly Downloads

      1

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      14.5 kB

      Total Files

      7

      Last publish

      Collaborators

      • alley_luo