Regenerator transform

This plugin uses the regenerator module to transform async and generator functions.

Async functions

These are only usable if you enable their syntax plugin. See syntax-async-functions for information.

Installation

$ npm install babel-plugin-transform-regenerator

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-regenerator"]
}