metro
npmv0.87.0TypeScriptπ The JavaScript bundler for React Native.
Adopt with care
metro is usable, with caveats. Pulls in 120 transitive packages, about 17 MB installed (at least β some of the tree is still being crawled).
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 58 days ago. 34 releases in the last 2 years.
- DWeight: grade D, Poor β a real concern.
Pulls in 120 transitive packages, about 17 MB installed (at least β some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT β permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph β downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding metro to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing metro, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node ^22.13.0 || ^24.3.0 || >= 26.0.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Dependencies
Declared by metro v0.87.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (39)
Dev (17)
Used by
Popular packages that depend on metro.
Generated and versioned meta-package wrapping Metro
Core CLI commands for React Native
π Implementation of Metro's resolution logic.
π Transform worker for Metro.
π Config parser for Metro.
π Transform plugins for Metro.
Relationship graph
Dependencies (left) and dependents (right) of metro.
Frequently installed together
π Implementation of Metro's resolution logic.
π Metro's core package.
π Config parser for Metro.
Metro configuration for React Native.
React Native CLI
Dev server middleware for React Native
The semantic version parser used by npm.
invariant
Lightweight debugging utility for Node.js and the browser
π Cache layers for Metro.
π Source map generator for Metro.
π Base Babel transformer for Metro.
Release history
30 releases in the last two years, typically about 11 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.84.6 | 7 days ago | 936 KB | MIT |
| 0.84.5 | 21 days ago | 936 KB | MIT |
| 0.83.8 | 21 days ago | 936 KB | MIT |
| 0.87.0latest | 1 month ago | 855 KB | MIT |
| 0.86.0 | 2 months ago | 892 KB | MIT |
| 0.85.0 | 2 months ago | 892 KB | MIT |
| 0.84.4 | 4 months ago | 908 KB | MIT |
| 0.83.7 | 4 months ago | 908 KB | MIT |
| 0.83.6 | 4 months ago | 900 KB | MIT |
| 0.84.3 | 4 months ago | 900 KB | MIT |
| 0.83.5 | 6 months ago | 872 KB | MIT |
| 0.84.2 | 6 months ago | 901 KB | MIT |
| 0.84.1 | 6 months ago | 757 KB | MIT |
| 0.84.0 | 6 months ago | 755 KB | MIT |
| 0.83.4 | 6 months ago | 754 KB | MIT |
Overview
metro is an npm package that π The JavaScript bundler for React Native. It has 6 known dependents in the graph. The latest version is 0.87.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need π The JavaScript bundler for React Native and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (56 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use metro?
metro is usable, with caveats. Pulls in 120 transitive packages, about 17 MB installed (at least β some of the tree is still being crawled).
How do I install metro?
Run `npm install metro` to add metro to your npm project.
How many dependencies does metro have?
metro declares 56 direct dependencies and pulls in 120 packages in total once its runtime tree is resolved totalling about 17 MB on disk.
What license is metro released under?
metro is distributed under the MIT license. Its dependency tree also includes: (MIT OR CC0-1.0), 0BSD, Apache-2.0, BSD-3-Clause, ISC, MIT.
How popular is metro?
npm does not publish download counts. Within PackageGraph's crawl, 6 known packages depend on metro.
Is metro still maintained?
The most recent release of metro (v0.87.0) was published 1 month ago.
Does metro run install scripts?
No. metro does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.