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
Secure File Transfer for Windows with Cerberus by Redwood Icon
Secure File Transfer for Windows with Cerberus by Redwood

Protect and share files over FTP/S, SFTP, HTTPS and SCP with the #1 rated Windows file transfer server.

Cerberus supports unlimited users and connections on a single IP, with built-in encryption, 2FA, and a browser-based web client — all deployable in under 15 minutes with a 25-day free trial.
Try for 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