Skip to main content

Babel's core packages

Other packages

  • babel-parser: babel-parser (Babylon) is a JavaScript parser used in Babel
  • babel-core: The core module that wraps everything in our transform api (used for integrations)
  • babel-generator: Prints a string from an AST
  • babel-types: Babel Types is a Lodash-esque utility library for AST nodes
  • babel-register: The require hook will bind itself to node's require and automatically compile files on the fly.
  • babel-template: Generate an AST from a string template
  • babel-helpers: Collection of helper functions used by Babel transforms
  • babel-code-frame: Generate errors that contain a code frame that point to source locations