Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro

Package Overview
Dependencies
Maintainers
5
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro

🚇 The JavaScript bundler for React Native.

  • 0.24.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6M
decreased by-6.62%
Maintainers
5
Weekly downloads
 
Created

What is metro?

Metro is a JavaScript bundler for React Native, designed to be fast and scalable, handling the packaging of JavaScript code for React Native apps. It compiles and bundles your JavaScript code and assets into a single file, optimizing for performance and efficiency. Metro is the default bundler for React Native, but it can also be used for other JavaScript projects.

What are metro's main functionalities?

Code Bundling

Metro bundles your JavaScript code and assets into a single file. This process is initiated by running the React Native start command, which starts the Metro bundler. The bundler then compiles the JavaScript code, optimizes it, and packages it into a single file that can be executed by the React Native app.

npx react-native start

Fast Refresh

Metro supports Fast Refresh, a feature that allows developers to get instant feedback on their changes without losing the application state. Fast Refresh combines the benefits of hot reloading and full reloading, providing a seamless development experience.

n/a

Asset Management

Metro handles the packaging and optimization of assets (such as images and fonts) alongside JavaScript code. It ensures that assets are bundled and loaded efficiently in the React Native app.

n/a

Other packages similar to metro

FAQs

Package last updated on 15 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc