@react-native/js-polyfills

Polyfills for React Native.

  • Types
  • ESM
  • CJS
License
MIT
Deps
0
Install Size
25.9 kB
Vulns
0
Published

Get started

$npm install @react-native/js-polyfills
$pnpm add @react-native/js-polyfills
$yarn add @react-native/js-polyfills
$bun add @react-native/js-polyfills
$deno add npm:@react-native/js-polyfills
$vlt install @react-native/js-polyfills
$vp add @react-native/js-polyfills

Weekly DownloadsAcross all versions

Node.js
^20.19.4 || ^22.13.0 || ^24.3.0 || >= 25.0.0

Versions

View all versions
0.85.3
latest
0.83.9
0.83-stable
0.81.6
0.81-stable
0.80.3
0.80-stable
0.79.7
0.79-stable
0.78.3
0.78-stable
0.77.3
0.77-stable
0.76.9
0.76-stable

Readme

@react-native/js-polyfills

Version

Installation

yarn add @react-native/js-polyfills

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/polyfills.