{"id":4643,"url":"https://github.com/johanneslumpe/react-native-browser-polyfill","last_synced_at":"2025-04-28T16:14:24.257Z","repository":{"id":32950985,"uuid":"36547454","full_name":"johanneslumpe/react-native-browser-polyfill","owner":"johanneslumpe","description":"A collection of polyfills for the react-native JavaScript environment.","archived":false,"fork":false,"pushed_at":"2017-05-18T13:26:40.000Z","size":3,"stargazers_count":32,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T16:14:19.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johanneslumpe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-30T07:03:29.000Z","updated_at":"2022-01-31T07:21:03.000Z","dependencies_parsed_at":"2022-06-27T03:25:45.686Z","dependency_job_id":null,"html_url":"https://github.com/johanneslumpe/react-native-browser-polyfill","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanneslumpe%2Freact-native-browser-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanneslumpe%2Freact-native-browser-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanneslumpe%2Freact-native-browser-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanneslumpe%2Freact-native-browser-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johanneslumpe","download_url":"https://codeload.github.com/johanneslumpe/react-native-browser-polyfill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251342725,"owners_count":21574245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:17:18.839Z","updated_at":"2025-04-28T16:14:24.233Z","avatar_url":"https://github.com/johanneslumpe.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["Web"],"readme":"# react-native-browser-polyfill\nA collection of polyfills for the react-native JavaScript environment.\n\nIf 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.\n\n## Usage\n`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.\n\n## Polyfills available in this package\n\n### `global.self`\nCurrently 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanneslumpe%2Freact-native-browser-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohanneslumpe%2Freact-native-browser-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanneslumpe%2Freact-native-browser-polyfill/lists"}