Metro-Bridge

JSON →
library 0.2.7 ·javascript
verified Jun 7, 2026

A comprehensive CDP/Metro bridge for React Native development tooling, providing target discovery, WebSocket CDP session management, a proxy multiplexer for sharing a single Hermes connection across multiple debuggers (required for RN <0.85), a high-level Bridge API (MetroBridge), DevTools launcher, and optional app-side client SDK. Current stable version is 0.2.7, released on npm with TypeScript types included. Release cadence is irregular. Key differentiators vs alternatives: built specifically for React Native and Hermes, handles Metro inspector proxy nuances (multi-session detection, port scanning), and provides both high-level convenience (MetroBridge) and low-level CDP access (CDPSession). Requires Node >=18.