{"id":13601520,"url":"https://github.com/react-native-web-community/react-native-web-webview","last_synced_at":"2025-10-09T13:14:42.937Z","repository":{"id":25699117,"uuid":"105472112","full_name":"react-native-web-community/react-native-web-webview","owner":"react-native-web-community","description":"React Native for Web implementation of RN's WebView","archived":false,"fork":false,"pushed_at":"2024-07-23T20:13:42.000Z","size":2659,"stargazers_count":131,"open_issues_count":44,"forks_count":48,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T13:06:47.625Z","etag":null,"topics":["react-native-web","webview"],"latest_commit_sha":null,"homepage":"https://react-native-web-community.github.io/react-native-web-webview/storybook","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/react-native-web-community.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-01T20:28:16.000Z","updated_at":"2025-02-13T12:15:33.000Z","dependencies_parsed_at":"2024-01-16T23:29:26.734Z","dependency_job_id":"e519a345-fc34-4e2b-af59-15bad6745ef2","html_url":"https://github.com/react-native-web-community/react-native-web-webview","commit_stats":{"total_commits":51,"total_committers":11,"mean_commits":4.636363636363637,"dds":"0.33333333333333337","last_synced_commit":"278b6fd669852b06e3dc1ab318475d039ed71830"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-web-community%2Freact-native-web-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-native-web-community","download_url":"https://codeload.github.com/react-native-web-community/react-native-web-webview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190221,"owners_count":20898699,"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":["react-native-web","webview"],"created_at":"2024-08-01T18:01:03.978Z","updated_at":"2025-10-09T13:14:37.898Z","avatar_url":"https://github.com/react-native-web-community.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-native-web-webview\n\n\u003e React Native for Web implementation of RN's WebView\n\n## Getting started\n\n`$ npm install react-native-web-webview --save`\n\nAlias the package in your webpack config:\n\n```\nresolve: {\n    alias: {\n        'react-native': 'react-native-web',\n        ...\n        'react-native-webview': 'react-native-web-webview',\n    }\n}\n```\n\nAdd the following rule to your webpack config:\n\n```js\nconst rule = {\n  test: /postMock.html$/,\n  use: {\n    loader: 'file-loader',\n    options: {\n      name: '[name].[ext]',\n    },\n  },\n};\n```\n\n## Usage\n\n```js\nimport { WebView } from 'react-native-webview';\n```\n\nSee [RN's doc](https://github.com/react-native-community/react-native-webview).\n\nSupported props are:\n\n- `source`\n- `onMessage`\n- `scrollEnabled`\n- `injectedJavaScript`\n- `style`\n\nAdditional, web-specific props are:\n\n- `newWindow`: (_boolean_|_{ name: string, features: string}_)\n  This will open the source in a new window, optionally giving it an [internal name and custom features](https://developer.mozilla.org/en-US/docs/Web/API/Window/open).\n  By default, the name is `webview` and there are no features set.\n  This is useful when your target has X-Frame-Options or a no-CORS policy.\n  It currently only supports a `source` prop with a `method` set to `POST`.\n  Please feel free to do a PR to support more request types!\n- `title`: (_string_) This prop will set the `webview` title.\n\n## Examples\n\nSee the [storybook](https://react-native-web-community.github.io/react-native-web-webview/storybook).\n\n## Contributing\n\nPRs are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-web-community%2Freact-native-web-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-native-web-community%2Freact-native-web-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-web-community%2Freact-native-web-webview/lists"}