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
Host LLMs in Production With On-Demand GPUs Icon
Host LLMs in Production With On-Demand GPUs

NVIDIA L4 GPUs. 5-second cold starts. Scale to zero when idle.

Deploy your model, get an endpoint, pay only for compute time. No GPU provisioning or infrastructure management required.
Try Free
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