bluebird-async-wrap

0.3.0 • Public • Published

Bluebird Async Wrapper

Helper to migrate from Bluebird to async/await by wrapping each async method with bluebird Resolve

Install

npm install bluebird-async-wrap

Usage

const bluebirdify = require('bluebird-async-wrap');
 
class Test {
 async asyncMethod () {
   return true;
 }
 
 syncMethod () {
   return true;
 }
}
 
bluebirdify(Test);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i bluebird-async-wrap

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

4.65 kB

Total Files

6

Last publish

Collaborators

  • hyperlink