/promises-aplus-robin

a lightweight Promises/A+ implementation that is able to detect circular thenable chain.

Primary LanguageJavaScriptMIT LicenseMIT

promises-aplus-robin

Promises/A+ logo

promises-aplus-robin is a lightweight Promises/A+ implementation that is able to detect circular thenable chain. Except for the features defined in the Promises/A+ Standard, more features can be found in the extended version.

Supported Features

  • Promise/A+ standard
  • detecting thenable cycle
  • MyPromise.prototype.catch
  • MyPromise.prototype.finally
  • MyPromise.resolve
  • MyPromise.reject
  • MyPromise.all
  • MyPromise.race
  • ......

Versions

Testing

The implementation of Promise/A+ can be tested by promises-tests.

npm run test