cat-bookmarker/assets/node_modules/babel-helpers/README.md

22 lines
326 B
Markdown
Raw Permalink Normal View History

2024-03-10 18:52:04 +00:00
# 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
```