Projekt

Obecné

Profil

Stáhnout (326 Bajtů) Statistiky
| Větev: | Revize:
1 9bb1e829 cagy
# babel-helpers
2
3
> Collection of helper functions used by Babel transforms.
4
5
## Install
6
7
```sh
8
npm install --save-dev babel-helpers
9
```
10
11
## Usage
12
13
```js
14
import * as helpers from 'babel-helpers';
15
import * as t from 'babel-types';
16
17
const typeofHelper = helpers.get('typeof');
18
19
t.isExpressionStatement(typeofHelper);
20
// true
21
```