You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 326 B

3 years ago
123456789101112131415161718192021
  1. # babel-helpers
  2. > Collection of helper functions used by Babel transforms.
  3. ## Install
  4. ```sh
  5. npm install --save-dev babel-helpers
  6. ```
  7. ## Usage
  8. ```js
  9. import * as helpers from 'babel-helpers';
  10. import * as t from 'babel-types';
  11. const typeofHelper = helpers.get('typeof');
  12. t.isExpressionStatement(typeofHelper);
  13. // true
  14. ```