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

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

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

react/metro

0
View on GitHub↗
5,608 星标·682 分支·JavaScript·MIT·3 次浏览metrobundler.dev↗

Metro

Metro is a JavaScript bundler designed for React Native environments. It functions as a system for resolving dependencies, transforming source code, and packaging JavaScript and assets into bundles for execution.

The project includes a development bundler server that hosts assets via HTTP and provides hot module replacement. It features a module resolver that handles platform-specific file extensions and a source code transformer that converts code into tree structures for optimization and minification.

The toolset covers programmatic bundle generation, source map creation, and file system caching to avoid redundant transformations. It also provides capabilities for asset management, polyfill injection, and secure server configuration using TLS certificates for encrypted endpoints.

Monitoring tools are included to track bundling status and log performance metadata for startup and update events.

Features

  • React Native Bundlers - Packages JavaScript code and assets into single bundles optimized for execution within React Native applications.
  • JavaScript Bundling Workflows - Resolves dependencies from a root file to create a packaged JavaScript bundle with minification and platform targeting.
  • Bundled Asset Serving - Serves generated JavaScript bundles and assets via a local HTTP server for rapid development deployment.
  • Development Bundler Servers - Runs a local HTTP server to handle requests for bundles and assets during active development.
  • Module Dependency Graphs - Traverses import trees to build a complete directed graph of required modules and assets.
  • Module Resolution - Defines how the bundler locates files using source extensions, package entry fields, and custom algorithms.
  • Module Resolvers - Provides a configurable lookup engine that resolves file paths and package entry fields based on a root file.
  • Source Code Transformation Engines - Converts source code into intermediate tree structures through a pluggable transformation pipeline before bundling.
  • JavaScript Source Transformers - Provides a transformation pipeline that converts source code into tree structures for optimization and minification.
  • React Native - Functions as a specialized bundler that resolves dependencies and packages code specifically for React Native environments.
  • Build Caches - Uses storage adapters to persist processed modules on disk to prevent redundant work across build cycles.
  • Programmatic Bundle APIs - Provides a promise-based programmatic interface to generate bundles, source maps, and assets for build automation.
  • Development Servers - Ships a local server providing hot module replacement to accelerate frontend and application iteration.
  • Asynchronous Bundle Pipelines - Executes the bundling process as an asynchronous pipeline returning the final assets and source maps.
  • Source Map Generators - Generates mapping files to correlate transformed production code back to the original source for debugging.
  • Platform-Specific Source Resolution - Automatically selects source files by matching platform-specific extensions during the module discovery phase.
  • Development Workflow Tools - Runs a local development server to deliver bundles and assets to mobile devices during active coding.
  • Persistent Module Caches - Persists processed module outputs and symbol tables on disk to avoid redundant transformations across build cycles.
  • Platform-Suffix Asset Resolution - Retrieves correct file paths for assets based on platform suffixes or resolution requirements.
  • Pluggable Compiler Integrations - Allows replacing the default compiler or minifier to customize source code processing and optimization.
  • Source Directory Configuration - Controls which folders are scanned for source files and excludes paths using regular expressions.
  • Build Automation Pipelines - Programmatically generates bundles and source maps to integrate into automated deployment or build pipelines.

Star 历史

react/metro 的 Star 历史图表react/metro 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

常见问题解答

react/metro 是做什么的?

Metro is a JavaScript bundler designed for React Native environments. It functions as a system for resolving dependencies, transforming source code, and packaging JavaScript and assets into bundles for execution.

react/metro 的主要功能有哪些?

react/metro 的主要功能包括:React Native Bundlers, JavaScript Bundling Workflows, Bundled Asset Serving, Development Bundler Servers, Module Dependency Graphs, Module Resolution, Module Resolvers, Source Code Transformation Engines。

react/metro 有哪些开源替代品?

react/metro 的开源替代品包括: substack/node-browserify — This project is a CommonJS module bundler and resolver designed to combine interdependent JavaScript files into a… farm-fe/farm — Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static… microsoft/rushstack — Rushstack is a comprehensive toolset for managing large-scale TypeScript monorepos, providing a framework for build… callstack/haul — Haul is a mobile application development tool that functions as a JavaScript module bundler, TypeScript transpiler,… rolldown/rolldown — Rolldown is a high-performance JavaScript and TypeScript module bundler written in Rust. It functions as a fast module… browserify/browserify-handbook — The browserify-handbook is a comprehensive documentation guide for Browserify, a CommonJS module bundler and…

Metro 的开源替代方案

相似的开源项目,按与 Metro 的功能重合度排序。
  • substack/node-browserifysubstack 的头像

    substack/node-browserify

    14,707在 GitHub 上查看↗

    This project is a CommonJS module bundler and resolver designed to combine interdependent JavaScript files into a single script for execution in web browsers. It functions as a Node.js JavaScript bundler that emulates server-side core modules and resolves dependencies to ensure compatibility between server-side logic and browser environments. The system features an extensible bundling pipeline and a browser-side module resolver. It provides a plugin architecture for transforming source code and a source map generator to correlate bundled output back to original files for debugging. The proje

    JavaScript
    在 GitHub 上查看↗14,707
  • farm-fe/farmfarm-fe 的头像

    farm-fe/farm

    5,580在 GitHub 上查看↗

    Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static assets into optimized bundles. It uses a module-graph-based bundling approach with persistent module-level caching, enabling near-instant builds and sub-20ms hot module replacement during development. The tool processes assets based on file extensions, handling CSS, Sass, Less, PostCSS, HTML, and images as first-class modules without requiring JavaScript transformation. Farm distinguishes itself through its Vite-compatible plugin system, accepting Vite, Rollup, and Unplugin p

    Rustbuild-toolbundlercompiler
    在 GitHub 上查看↗5,580
  • microsoft/rushstackmicrosoft 的头像

    microsoft/rushstack

    6,479在 GitHub 上查看↗

    Rushstack is a comprehensive toolset for managing large-scale TypeScript monorepos, providing a framework for build pipeline automation, dependency coordination, and static analysis. It functions as an incremental build orchestrator and management system designed to maintain consistency and performance across multiple packages in a shared workspace. The system distinguishes itself through an execution model based on directed acyclic graphs and content-hash-based incrementalism, which ensures only affected projects are rebuilt. It further optimizes development workflows via remote build artifa

    TypeScript
    在 GitHub 上查看↗6,479
  • callstack/haulcallstack 的头像

    callstack/haul

    3,682在 GitHub 上查看↗

    Haul is a mobile application development tool that functions as a JavaScript module bundler, TypeScript transpiler, and development server for mobile environments. It provides a command line interface to manage the build pipeline and serve application bundles to connected devices. The tool utilizes Webpack to compile and package JavaScript and TypeScript code specifically for React Native development. It distinguishes itself through a specialized build pipeline that transforms type-safe code into compatible JavaScript for mobile runtimes. The platform covers comprehensive build and tooling c

    TypeScriptclireact-nativewebpack
    在 GitHub 上查看↗3,682
  • 查看 Metro 的所有 30 个替代方案→