bluebirdish
v1.2.0
Published
bluebird's fancy api but with native promises
Readme
bluebirdish
bluebird's fancy api but with native promises
Works in environments with native Promises and class syntax!
Install
npm install bluebirdishUsage
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
