mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
22 lines
317 B
Markdown
22 lines
317 B
Markdown
# babel-helpers
|
|
|
|
> Collection of helper functions used by Babel transforms.
|
|
|
|
## Install
|
|
|
|
```js
|
|
$ npm install 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
|
|
```
|