UNPKG

407 BMarkdownView Raw
1# babel-plugin-external-helpers-2
2
3## Installation
4
5```sh
6$ npm install babel-plugin-external-helpers-2
7```
8
9## Usage
10
11### Via `.babelrc` (Recommended)
12
13**.babelrc**
14
15```json
16{
17 "plugins": ["external-helpers-2"]
18}
19```
20
21### Via CLI
22
23```sh
24$ babel --plugins external-helpers-2 script.js
25```
26
27### Via Node API
28
29```javascript
30require("babel-core").transform("code", {
31 plugins: ["external-helpers-2"]
32});
33```