node package manager

babel-plugin-external-helpers-2

babel-plugin-external-helpers-2

Installation

$ npm install babel-plugin-external-helpers-2

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

$ babel --plugins external-helpers-2 script.js

Via Node API

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