# metro-file-map

> [Experimental] - 🚇 File crawling, watching and mapping for Metro

Latest version **0.87.1** (published 2026-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install metro-file-map
pnpm add metro-file-map
yarn add metro-file-map
bun add metro-file-map
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.87.1 |
| Published | 2026-09-13 |
| First published | 2022-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^22.13.0 \|\| ^24.3.0 \|\| >= 26.0.0 |
| Dependencies | 8 |
| Unpacked size | 478.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5640 |
| Maintainers | fb, metro-bot |

## Links

- npm: https://www.npmjs.com/package/metro-file-map
- Repository: https://github.com/react/metro
- Homepage: https://github.com/react/metro#readme
- Issues: https://github.com/react/metro/issues
- npm.io page: https://npm.io/package/metro-file-map

## Dependencies (8)

- [debug](https://npm.io/package/debug.md) ^4.4.0
- [invariant](https://npm.io/package/invariant.md) ^2.2.4
- [micromatch](https://npm.io/package/micromatch.md) ^4.0.4
- [nullthrows](https://npm.io/package/nullthrows.md) ^1.1.1
- [fb-watchman](https://npm.io/package/fb-watchman.md) ^2.0.0
- [graceful-fs](https://npm.io/package/graceful-fs.md) ^4.2.4
- [jest-worker](https://npm.io/package/jest-worker.md) ^29.7.0
- [flow-enums-runtime](https://npm.io/package/flow-enums-runtime.md) ^0.0.6

## Recent versions

- 0.87.1 (latest) — 2026-09-13
- 0.84.6 (0.84-stable) — 2026-09-02
- 0.83.8 (0.83-stable) — 2026-08-19
- 0.81.5 (0.81-stable) — 2025-05-06
- 0.81.0-alpha.2 (alpha) — 2024-09-25
- 0.80.12 (0.80-stable) — 2024-09-08
- 0.76.9 (0.76-stable) — 2024-01-30
- 0.84.5 — 2026-08-19
- 0.87.0 — 2026-07-13
- 0.86.0 — 2026-07-06
- 0.85.0 — 2026-06-23
- 0.84.4 — 2026-04-30
- 0.83.7 — 2026-04-29
- 0.83.6 — 2026-04-13
- 0.84.3 — 2026-04-13
- … 73 more at https://npm.io/package/metro-file-map/versions

## README

# \[Experimental\] Metro File Map

🚇 File system crawling, watching and mapping for [Metro](https://metrobundler.dev/).

Originally a fork of [`jest-haste-map`](https://github.com/facebook/jest/tree/main/packages/jest-haste-map).

This entire package should be considered "experimental" for the time being -
the API is considered internal and changes will not be semver-breaking.

If you need to rely on `metro-file-map` APIs directly please
[raise an issue](https://github.com/react/metro/issues/new) to discuss your
use case.

---
_Source: https://npm.io/package/metro-file-map · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
