awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
babel avatar

babel/babel

0
View on GitHub↗
44,009 星标·5,829 分支·TypeScript·MIT·9 次浏览babel.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 历史

babel/babel 的 Star 历史图表babel/babel 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Babel 的开源替代方案

相似的开源项目,按与 Babel 的功能重合度排序。
  • postcss/postcsspostcss 的头像

    postcss/postcss

    28,968在 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
    在 GitHub 上查看↗28,968
  • thejameskyle/babel-handbookthejameskyle 的头像

    thejameskyle/babel-handbook

    12,109在 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,

    在 GitHub 上查看↗12,109
  • google/traceur-compilergoogle 的头像

    google/traceur-compiler

    8,164在 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
    在 GitHub 上查看↗8,164
  • rollup/rolluprollup 的头像

    rollup/rollup

    26,288在 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
    在 GitHub 上查看↗26,288
查看 Babel 的所有 30 个替代方案→

常见问题解答

babel/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.

babel/babel 的主要功能有哪些?

babel/babel 的主要功能包括:JavaScript Transpilation, Source-To-Source Transpilers, AST Transformation Tools, Code Generation, Pluggable Compilers, API Polyfills, Abstract Syntax Tree Tools, Code Transformation Engines。

babel/babel 有哪些开源替代品?

babel/babel 的开源替代品包括: 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…