W3cubDocs

/Babel

Babel helpers

Collection of helper functions used by Babel transforms

Install

npm install --save-dev babel-helpers

Usage

import * as helpers from 'babel-helpers';
import * as t from 'babel-types';

const typeofHelper = helpers.get('typeof');

t.isExpressionStatement(typeofHelper);
// true

© 2018 Sebastian McKenzie
Licensed under the MIT License.
http://babeljs.io/docs/core-packages/babel-helpers/