{"id":20942193,"url":"https://github.com/getstation/native-messaging-client","last_synced_at":"2026-04-20T21:35:18.231Z","repository":{"id":66202684,"uuid":"113328897","full_name":"getstation/native-messaging-client","owner":"getstation","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-06T15:17:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-30T02:15:46.898Z","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/getstation.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-12-06T14:50:32.000Z","updated_at":"2018-03-10T05:04:21.000Z","dependencies_parsed_at":"2023-03-01T09:16:17.136Z","dependency_job_id":null,"html_url":"https://github.com/getstation/native-messaging-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getstation/native-messaging-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fnative-messaging-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fnative-messaging-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fnative-messaging-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fnative-messaging-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getstation","download_url":"https://codeload.github.com/getstation/native-messaging-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getstation%2Fnative-messaging-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32067616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-18T23:24:22.023Z","updated_at":"2026-04-20T21:35:18.214Z","avatar_url":"https://github.com/getstation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Native Messaging Client\n==========\n\nCommunicate with apps trough the Native Messaging API\n\n\nInstall\n-------\n\n```bash\nnpm install native-messaging-client --save\n```\n\n\nUsage examples\n--------------\n\n##### Example\n\n```js\nconst demo = async () =\u003e {\n\n  const client = await Client('com.google.chrome.example.echo').connect();\n\n  if (client.isConnected) {\n    client.streamOut.on('data', msg =\u003e { console.log('event streamOut data', msg.toString()) });\n    client.streamErr.on('data', msg =\u003e { console.log('event streamErr data', msg.toString()) });\n    client.hostProcess.on('exit', (code, signal) =\u003e { console.log('event exit', code, signal) });\n    client.hostProcess.on('close', (code, signal) =\u003e { console.log('event close', code, signal) });\n    client.hostProcess.on('disconnect', () =\u003e { console.log('event disconnect') });\n\n    client.send('my message');\n\n    setTimeout(() =\u003e {\n      client.close();\n    }, 10000)\n  }\n};\n\ndemo();\n```\n\n\n## Todo\n- [ ] client singleton with multiple processes\n- [ ] better buffer management for long messages\n- [ ] tests\n\n## License\n\n[MIT](https://github.com/hugomano/native-messaging-client/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fnative-messaging-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetstation%2Fnative-messaging-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetstation%2Fnative-messaging-client/lists"}