bluebirdish
bluebird's fancy api but with native promises
Last updated a year ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bluebirdish 
SYNC missed versions from official npm registry.

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:

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

License

Apache-2.0

Current Tags

  • 1.2.0                                ...           latest (a year ago)

4 Versions

  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |