bluebirdish

1.2.0 • Public • Published

bluebirdish

bluebird's fancy api but with native promises

Works in environments with native Promises and class syntax!

npm travis standard

Install

npm install bluebirdish

Usage

var Bluebirdish = require('bluebirdish')

API

The API is the same as Bluebird's. These features are implemented:

  • .then()
  • .spread()
  • .catch()
  • .finally()
  • Promise.resolve()
  • Promise.reject()
  • Promise.join()
  • Promise.try()
  • Promise.method()
  • Promise.all()
  • Promise.props()
  • Promise.any()
  • Promise.some()
  • Promise.map()
  • Promise.reduce()
  • Promise.filter()
  • Promise.each()
  • Promise.mapSeries()
  • Promise.race()
  • Promise.using()
  • .disposer()
  • Promise.promisify()
  • Promise.promisifyAll()
  • Promise.fromCallback()
  • .asCallback(), .nodeify()
  • Promise.delay()
  • .timeout()
  • .cancel()
  • Promise.coroutine()
    • Promise.coroutine.addYieldHandler()
  • Promise.spawn()
  • .tap()
  • .tapCatch()
  • .call()
  • .get()
  • .return()
  • .throw()
  • .catchReturn()
  • .catchThrow()
  • .reflect()
  • Promise.getNewLibraryCopy()
  • OperationalError
  • TimeoutError
  • CancellationError
  • AggregateError

License

Apache-2.0

Readme

Keywords

Package Sidebar

Install

npm i bluebirdish

Weekly Downloads

0

Version

1.2.0

License

Apache-2.0

Unpacked Size

23.7 kB

Total Files

6

Last publish

Collaborators

  • goto-bus-stop