JSPM

  • Created
  • Published
  • Downloads 1126172
  • Score
    100M100P100Q185828F
  • License MIT

Collection of helper functions used by Babel transforms.

Package Exports

  • babel-helpers

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-helpers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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