Skip to content

VeryCrazyDog/native-promise-util

Repository files navigation

native-promise-util (npu)

A utility for working with native JavaScript Promise. Aims to provide compatible bluebird API but on native Promise.

Version on npm Build status

Install

npm install native-promise-util

API

The follow API are currently provided:

License

This module is licensed under the MIT License.

Acknowledge

This module was built by referencing the following materials:

  • Most API design and a lot of test cases are ported from bluebird.
  • map and filter API implementation are inspired by a Gist from yongjun21.

Alternatives

Some alternatives and similar implementations which can be considered: