Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

babel-preset-async-to-bluebird

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-async-to-bluebird

Babel preset to convert async functions to bluebird coroutines

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
307
-36.31%
Maintainers
1
Weekly downloads
 
Created
Source

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

.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"]
});

Keywords

babel-preset

FAQs

Package last updated on 19 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts