# react-native-browser-polyfill

> A collection of polyfills for the react-native Javascript environment.

Latest version **0.1.2** (published 2017-05-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-browser-polyfill
pnpm add react-native-browser-polyfill
yarn add react-native-browser-polyfill
bun add react-native-browser-polyfill
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-05-18 |
| First published | 2015-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Johannes Lumpe |
| Maintainers | johanneslumpe |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-browser-polyfill
- Repository: https://github.com/johanneslumpe/react-native-browser-polyfill
- Homepage: https://github.com/johanneslumpe/react-native-browser-polyfill#readme
- Issues: https://github.com/johanneslumpe/react-native-browser-polyfill/issues
- npm.io page: https://npm.io/package/react-native-browser-polyfill

## Recent versions

- 0.1.2 (latest) — 2017-05-18
- 0.1.1 — 2015-05-30
- 0.1.0 — 2015-05-30

## README

# react-native-browser-polyfill
A collection of polyfills for the react-native JavaScript environment.

If polyfills are needed to make browser-targeted libraries, which use commonly available functions/variables, work in react-native, this is the place to put them. Issues/PRs welcome.

## Usage
`npm install react-native-browser-polyfill` the package and then `require('react-native-browser-polyfill')` it in your main entry file, before any libraries which require the polyfills.

## Polyfills available in this package

### `global.self`
Currently JavaScriptCore does not provide a `self` reference to the global object, which is utilized by browser libraries (i.e bluebird) to have a reliably reference to the global object which works in browsers and web-workers alike.

---
_Source: https://npm.io/package/react-native-browser-polyfill · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
