UNPKG

326 BMarkdownView Raw
1# babel-helpers
2
3> Collection of helper functions used by Babel transforms.
4
5## Install
6
7```sh
8npm install --save-dev babel-helpers
9```
10
11## Usage
12
13```js
14import * as helpers from 'babel-helpers';
15import * as t from 'babel-types';
16
17const typeofHelper = helpers.get('typeof');
18
19t.isExpressionStatement(typeofHelper);
20// true
21```