liukang b4b8ddf15d admin-vue 1 year ago
..
lib b4b8ddf15d admin-vue 1 year ago
.npmignore b4b8ddf15d admin-vue 1 year ago
README.md b4b8ddf15d admin-vue 1 year ago
package.json b4b8ddf15d admin-vue 1 year ago

README.md

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