bluefill
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

bluefill Build Status

Bluefill is a polyfill designed for browsers and TypeScript to add promise utility methods such as those found in Bluebird. We do not aim for total compatibility with Bluebird or take pains to ensure extremely high performance, rather we optimize for a small browser package based solely on the Promise implementation found in the browser.

The total package size of bluefill is under 400 bytes. We supply the following methods:

  • .catch with the ability to filter by Error classes or subclasses, or function predicates.
  • .finally
  • .map (both as a static call and a chainable promise method)
  • .tap
  • .return
  • .throw

Package Sidebar

Install

npm i bluefill

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • mcph