You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@expo/metro-runtime

Package Overview
Dependencies
Maintainers
26
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/metro-runtime

Tools for making advanced Metro bundler features work

5.0.4
latest
Source
npmnpm
Version published
Weekly downloads
821K
0.55%
Maintainers
26
Weekly downloads
 
Created
Source

@expo/metro-runtime

Injects runtime code required for advanced Metro bundling features in the Expo ecosystem.

Usage

expo-router users do not need to install this package, it is already included.

yarn add @expo/metro-runtime

Import this somewhere in the initial bundle. For example, the App.js:

import '@expo/metro-runtime';

expo/metro-config will automatically move this import to be first in the bundle.

FAQs

Package last updated on 28 Apr 2025

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