node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

babel-plugin-external-helpers

babel-plugin-external-helpers

Installation

npm install --save-dev babel-plugin-external-helpers

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["external-helpers"]
}

Via CLI

babel --plugins external-helpers script.js

Via Node API

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