Collection of helper functions used by Babel transforms.
npm install --save-dev babel-helpers
import * as helpers from 'babel-helpers';
import * as t from 'babel-types';
const typeofHelper = helpers.get('typeof');
t.isExpressionStatement(typeofHelper);
// true
# 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 ```