Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 317 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 317 Bytes

babel-helpers

Collection of helper functions used by Babel transforms.

Install

$ npm install babel-helpers

Usage

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

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

t.isExpressionStatement(typeofHelper);
// true