awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
babel avatar

babel/babel

0
View on GitHub↗
44,009 stars·5,829 forks·TypeScript·MIT·13 viewsbabel.dev↗

Babel

Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into backwards-compatible versions of the language. It functions as an abstract syntax tree manipulator, parsing source code into a hierarchical structure to traverse and modify nodes for custom code transformations.

The system utilizes a plugin-driven architecture to apply specific transformation rules and supports presets that bundle multiple plugins into named configuration groups. This enables the transformation of experimental syntax and the injection of non-global polyfills to ensure consistent runtime behavior without polluting the global scope.

The project covers wide-ranging capabilities including source-to-source compilation, visitor-based tree traversal, and template-based code generation. It provides interfaces for both command-line compilation and just-in-time execution, while offering source code error framing to pinpoint failures during the compilation process.

Features

  • JavaScript Transpilation - Provides a compiler that converts modern ECMAScript syntax into backwards-compatible JavaScript for older browser and environment support.
  • Source-To-Source Transpilers - Acts as a source-to-source transpiler that translates modern ECMAScript into backwards-compatible versions.
  • AST Transformation Tools - Functions as a tool for parsing, manipulating, and transforming source code via abstract syntax trees.
  • Code Generation - Automatically produces formatted source code by converting a modified syntax tree back into strings.
  • Pluggable Compilers - Implements a pluggable compilation engine that uses plugins and presets to transform language features and enable experimental syntax.
  • API Polyfills - Provides API polyfills that add missing language features without polluting the global scope.
  • Abstract Syntax Tree Tools - Provides utilities for parsing and modifying source code structures via abstract syntax trees.
  • Code Transformation Engines - Implements a rule-based engine that automates structural code modifications using syntax trees.
  • Browser Compatibility & Utilities - Ensures consistent application behavior across different browser versions by automating syntax transformations.
  • Non-Global Polyfill Injectors - Injects necessary polyfills into compiled code without modifying the global scope using a dedicated runtime.
  • Compiler Command Line Interfaces - Provides a command-line interface to output transformed code to files, directories, or standard output.
  • Just-In-Time Compilers - Provides a runtime binding to automatically compile files during execution.
  • Transformation Presets - Allows bundling multiple transformation plugins into named presets for environment compatibility.
  • Syntax Traversal - Implements a visitor-based system for navigating and triggering callbacks on specific nodes within a syntax tree.
  • Build Automation Pipelines - Integrates a compilation step into development workflows to transform source code into production-ready assets.
  • Syntax Transformers - Provides build-time tools that convert experimental or extended JavaScript syntax into standard executable code.
  • AST & Language Tools - JavaScript parser and compiler toolchain.
  • AST Parsers - JavaScript parser used in the Babel toolchain.
  • Build and Compilation Tools - Compiler for transforming next-generation JavaScript into compatible code.
  • Build and Transpilation Tools - Core compiler for next-generation JavaScript.
  • Compilers and Interpreters - JavaScript compiler.
  • Developer Tooling - Compiler for next-generation JavaScript.
  • Language and Compilation - Transpiles ES6+ code to ES5.
  • Language and Data Plugins - Provides rules for Babel-specific syntax features.
  • Language and Tooling - Transpiles modern code to vanilla ES5.
  • Parsers and Language Support - Enables linting for Babel-transpiled code.
  • Transpilers - Converts modern code to vanilla ES5 without runtime dependencies.
  • Web Frameworks - JavaScript compiler for modern syntax support.
  • ES6转码器(ES6 to ES5) - Listed in the “ES6转码器(ES6 to ES5)” section of the Awesome Frontend awesome list.

Star history

Star history chart for babel/babelStar history chart for babel/babel

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Babel

Similar open-source projects, ranked by how many features they share with Babel.
  • postcss/postcsspostcss avatar

    postcss/postcss

    28,968View on GitHub↗

    PostCSS is a CSS post-processor and abstract syntax tree transformation tool that parses stylesheets into a structured tree for programmatic analysis and modification. It functions as a plugin-driven pipeline where JavaScript plugins can modify, insert, or delete nodes to transform styles. The project provides a framework for building a custom plugin ecosystem to extend the CSS language with non-standard features such as loops, conditionals, and shorthand properties. It supports multi-syntax parsing through pluggable parsers and stringifiers, allowing it to process various style formats and c

    TypeScriptastcssframework
    View on GitHub↗28,968
  • thejameskyle/babel-handbookthejameskyle avatar

    thejameskyle/babel-handbook

    12,109View on GitHub↗

    This project is a comprehensive manual and educational resource focused on the Babel compiler. It serves as a documentation guide and handbook for understanding the inner workings of JavaScript compilation, specifically regarding the transformation of source code. The material provides a technical walkthrough for developing custom plugins and extensions. It covers the process of creating tailored transformations to modify how JavaScript is parsed and generated. The content encompasses the broader JavaScript compilation workflow, focusing on abstract syntax tree manipulation, code generation,

    View on GitHub↗12,109
  • google/traceur-compilergoogle avatar

    google/traceur-compiler

    8,164View on GitHub↗

    Traceur is a JavaScript syntax transpiler that transforms modern and next-generation language features into compatible versions for older runtime environments. It functions as a compiler that translates proposed language standards and upcoming syntax into current versions to maintain cross-engine compatibility. The project operates as an asynchronous code transformer, converting async functions and generators into promise-based state machines. It includes a functional tail-call optimizer that wraps recursive functions in trampolines to prevent stack overflows and an ECMAScript polyfill engine

    JavaScript
    View on GitHub↗8,164
  • rollup/rolluprollup avatar

    rollup/rollup

    26,288View on GitHub↗

    Rollup is an ES module bundler and JavaScript module transpiler. It functions as a build tool that combines JavaScript modules into optimized files and converts modern JavaScript and JSX into various output formats for different runtime environments. The project is distinguished by its static-analysis tree shaking engine, which removes unused code and dead exports to minimize bundle size. It also acts as a code splitting orchestrator, partitioning modules into separate chunks to optimize network requests and load times. The tool provides a hook-based plugin system for extending build logic,

    JavaScript
    View on GitHub↗26,288
See all 30 alternatives to Babel→

Frequently asked questions

What does babel/babel do?

Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into backwards-compatible versions of the language. It functions as an abstract syntax tree manipulator, parsing source code into a hierarchical structure to traverse and modify nodes for custom code transformations.

What are the main features of babel/babel?

The main features of babel/babel are: JavaScript Transpilation, Source-To-Source Transpilers, AST Transformation Tools, Code Generation, Pluggable Compilers, API Polyfills, Abstract Syntax Tree Tools, Code Transformation Engines.

What are some open-source alternatives to babel/babel?

Open-source alternatives to babel/babel include: postcss/postcss — PostCSS is a CSS post-processor and abstract syntax tree transformation tool that parses stylesheets into a structured… thejameskyle/babel-handbook — This project is a comprehensive manual and educational resource focused on the Babel compiler. It serves as a… google/traceur-compiler — Traceur is a JavaScript syntax transpiler that transforms modern and next-generation language features into compatible… rollup/rollup — Rollup is an ES module bundler and JavaScript module transpiler. It functions as a build tool that combines JavaScript… swc-project/swc — This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible… facebook/regenerator — Regenerator is a JavaScript generator transpiler and build-time code processor. It converts ECMAScript generator…