babel
« Back to VersTracker
Description:
Compiler for writing next generation JavaScript
Type: Formula  |  Latest Version: 7.28.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @babeljs  |  formulae.brew.sh
Category: Developer tools
Tags: javascript compiler transpiler babel es6 web-development
Install: brew install babel
About:
Babel is a standard JavaScript compiler that transpiles next-generation JavaScript (ES6+) into backwards-compatible versions for older environments. It enables developers to use modern language features like arrow functions and async/await without breaking support for legacy browsers or Node.js versions. Through its extensible plugin architecture, it also supports experimental syntax and JSX transformation for frameworks like React.
Key Features:
  • Transpiles modern ES6+ JavaScript to ES5 for backward compatibility
  • Extensible plugin system for custom transformations and syntax
  • Supports JSX and TypeScript syntax via presets
  • Smart polyfilling for browser API compatibility
  • Configurable via .babelrc or package.json
Use Cases:
  • Compiling modern JavaScript for deployment to legacy browsers
  • Transpiling JSX syntax for React-based applications
  • Enabling experimental JavaScript features in production code
  • Standardizing codebases across different Node.js versions
Alternatives:
  • TypeScript – TypeScript is a typed superset of JavaScript that compiles to JS, offering static type checking in addition to transpilation
  • esbuild – esbuild is a much faster but less extensible bundler/transpiler focused on speed over plugin ecosystem
License: MIT
Dependencies: node
Bottles available for: all
Version History
Detected Version Rev Change Commit
Nov 19, 2024 12:01am 0 VERSION_BUMP 21f25a3f
Oct 22, 2024 3:25pm 0 VERSION_BUMP 5fd00c00
Oct 2, 2024 3:26pm 0 VERSION_BUMP a2bdd9b4