npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

screeps-regenerator-transform

1.0.1 • Public • Published

screeps-regenerator-transform

Transform async/generator functions with screeps-regenerator

Installation

$ npm install screeps-regenerator-transform

Usage

Via .babelrc (Recommended)

.babelrc

// without options
{
  "plugins": ["screeps-regenerator-transform"]
}
// with options
{
  "plugins": [
    ["screeps-regenerator-transform", {
      asyncGenerators: false, // true by default
      generators: false, // true by default
      async: false // true by default
    }]
  ]
}

Via CLI

$ babel --plugins screeps-regenerator-transform script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["screeps-regenerator-transform"]
});

install

npm i screeps-regenerator-transform

Downloadsweekly downloads

7

version

1.0.1

license

BSD

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability