babel-helpers

Collection of helper functions used by Babel transforms.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-helpers
6.24.16 years ago7 years agoMinified + gzip package size for babel-helpers in KB

Readme

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