vlad 6f123ff03e 18.07 6 rokov pred
..
lib 6f123ff03e 18.07 6 rokov pred
.npmignore 6f123ff03e 18.07 6 rokov pred
README.md 6f123ff03e 18.07 6 rokov pred
package.json 6f123ff03e 18.07 6 rokov pred

README.md

babel-plugin-syntax-async-generators

Allow parsing of async generator functions.

Installation

$ npm install babel-plugin-syntax-async-generators

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-async-generators"]
}

Via CLI

$ babel --plugins syntax-async-generators script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-async-generators"]
});