UNPKG

promisify-any

Version:

Promisify any of: callback function, sync function, generator function, promise-returning function

74 lines (42 loc) 1.03 kB
# Changelog ## 0.0.1 * Initial release ## 0.0.2 * README contribution section ## 0.0.3 * Test code coverage & Travis sends to coveralls * Disable Travis dependency cache * Update README badges to use shields.io ## 0.0.4 * README typos and additional example ## 0.0.5 * Test coverage runs in harmony mode ## 0.0.6 * README update ## 0.1.0 * Use co-bluebird for wrapping generators * Move generator-supported to dev dependencies ## 1.0.0 * Coveralls runs generator tests * README update ## 1.0.1 * Update dependencies ## 1.1.0 * `generators()` method ## 1.1.1 * Update `is-generator` dependency ## 1.2.0 * Update `co-bluebird` dependency * Update `bluebird` dependency * Update dev dependencies ## 1.2.1 * Update `co-bluebird` dependency ## 2.0.0 * `.use()` method * Remove `.Promise` and `.co` properties * Remove `.defaultNumArgs` property * README Breaking changes: * To set the Promise implementation used, instead of setting `promisify.Promise` property, use `.use(Promise)` ## 2.0.1 * README