{"id":22746046,"url":"https://github.com/hikouki/hey-react-native","last_synced_at":"2026-05-09T10:37:05.594Z","repository":{"id":56702667,"uuid":"306798706","full_name":"hikouki/hey-react-native","owner":"hikouki","description":":email:　Send message to react-native app from react-native-webview.","archived":false,"fork":false,"pushed_at":"2020-10-24T05:47:00.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-29T06:21:52.853Z","etag":null,"topics":["emit","events","message","react-native","react-native-webview","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hikouki.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":"2020-10-24T03:38:09.000Z","updated_at":"2020-10-24T05:48:27.000Z","dependencies_parsed_at":"2022-08-15T23:40:15.221Z","dependency_job_id":null,"html_url":"https://github.com/hikouki/hey-react-native","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikouki%2Fhey-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikouki%2Fhey-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikouki%2Fhey-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikouki%2Fhey-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hikouki","download_url":"https://codeload.github.com/hikouki/hey-react-native/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":["emit","events","message","react-native","react-native-webview","typescript"],"created_at":"2024-12-11T02:10:04.288Z","updated_at":"2026-05-09T10:37:00.558Z","avatar_url":"https://github.com/hikouki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hey-react-native\n\n![CI](https://github.com/hikouki/hey-react-native/workflows/CI/badge.svg)\n\nSend message to react-native app from react-native-webview.\n\nIf not in the react-native-webview, It won't do anything.\n\n## Install\n\n```\nnpm install hey-react-native\n```\n\n## Usage\n\nPlease refer to [tests](https://github.com/hikouki/hey-react-native/blob/main/__tests__/index.spec.ts).\n\n```typescript\nimport { HeyReactNative } from \"hey-react-native\";\n\nconst hey = new HeyReactNative({ debug: true });\nhey.emit({ event: 'ping', value: 'pong' });\n\n// =\u003e console.log {\"event\":\"ping\",\"value\":\"pong\"}\n```\n\nIf you want to specify a event name.\n\n```typescript\nimport { HeyReactNative } from \"hey-react-native\";\n\nconst hey = new HeyReactNative\u003c'ping'\u003e({ debug: true });\nhey.emit({ event: 'ping', value: 'pong' });\n```\n\n## License\n\nhey-react-native is [MIT licensed](https://github.com/hikouki/hey-react-native/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikouki%2Fhey-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhikouki%2Fhey-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikouki%2Fhey-react-native/lists"}