first commit
This commit is contained in:
21
build/node_modules/babel-helpers/README.md
generated
vendored
Normal file
21
build/node_modules/babel-helpers/README.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# babel-helpers
|
||||
|
||||
> Collection of helper functions used by Babel transforms.
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install --save-dev babel-helpers
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import * as helpers from 'babel-helpers';
|
||||
import * as t from 'babel-types';
|
||||
|
||||
const typeofHelper = helpers.get('typeof');
|
||||
|
||||
t.isExpressionStatement(typeofHelper);
|
||||
// true
|
||||
```
|
||||
Reference in New Issue
Block a user