babel-preset-async-to-bluebird
Babel preset to convert async functions to bluebird coroutines
Last updated 4 years ago by eknkc .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-async-to-bluebird 
SYNC missed versions from official npm registry.

babel-preset-async-to-bluebird

Babel preset to convert async functions to bluebird coroutines.

Install

$ npm install --save-dev babel-preset-async-to-bluebird

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["async-to-bluebird"]
}

Via CLI

$ babel script.js --preset async-to-bluebird

Via Node API

require("babel-core").transform("code", {
  presets: ["async-to-bluebird"]
});

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |