Metro aims for sub-second reload cycles, fast startup and quick bundling speeds. Works with thousands of modules in a single application. Supports every React Native project out of the box. Instead of creating the full server, create a Connect middleware that answers to bundle requests. This middleware can then be plugged into your own servers. The port parameter is optional and only used for logging purposes. The onBundleBuilt function is optional, is passed the bundle name, and is called when the server has finished creating the bundle. Starts a full Metro HTTP server. It will listen on the specified host port, and can then be queried to retrieve bundles for various entry points. If the secureServerOptions family of options are present, the server will be exposed over HTTPS.

Features

  • Run a server and watch the filesystem for changes
  • Create a Connect middleware and plug it into a server
  • Sub-second reload cycles
  • Works with thousands of modules in a single application
  • Supports every React Native project
  • Fast, scalable and integrated

Project Samples

Project Activity

See All Activity >

Categories

System

License

MIT License

Follow Metro

Metro Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Metro!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript System Software

Registered

2021-12-21