{"id":22382470,"url":"https://github.com/jcoreio/socket-ipc","last_synced_at":"2025-07-28T02:05:17.135Z","repository":{"id":8610463,"uuid":"59044048","full_name":"jcoreio/socket-ipc","owner":"jcoreio","description":"WebSocket-like communications over local UNIX sockets","archived":false,"fork":false,"pushed_at":"2023-01-05T13:14:39.000Z","size":1186,"stargazers_count":6,"open_issues_count":19,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T22:31:15.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcoreio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-17T17:27:30.000Z","updated_at":"2024-08-17T04:52:17.000Z","dependencies_parsed_at":"2023-01-13T15:30:29.710Z","dependency_job_id":null,"html_url":"https://github.com/jcoreio/socket-ipc","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/jcoreio/socket-ipc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Fsocket-ipc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Fsocket-ipc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Fsocket-ipc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Fsocket-ipc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcoreio","download_url":"https://codeload.github.com/jcoreio/socket-ipc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcoreio%2Fsocket-ipc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265534740,"owners_count":23783881,"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-12-05T00:13:09.595Z","updated_at":"2025-07-28T02:05:17.087Z","avatar_url":"https://github.com/jcoreio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Socket IPC\n\nWebSocket-like communications over local UNIX sockets\n\n## Installation\n\n```\n$ npm install socket-ipc\n```\n\n## Creating a Message Server\n\n```js\nvar ipc = require('socket-ipc')\n\nvar server = new ipc.MessageServer({ path: '/tmp/socket-loc' })\n\nserver.on('error', function(err) {\n  console.error(err.stack)\n})\n\nserver.on('message', function(message) {\n  console.log('got message:', message.data)\n  server.send('back at you: ' + message.data)\n})\n\nserver.on('connection', function(connection) {\n  console.log('client connected')\n})\n\nserver.start()\n```\n\n## Connecting To a Message Server\n\n```js\nvar ipc = require('socket-ipc')\n\nvar client = new ipc.MessageClient({ path: '/tmp/socket-loc' })\n\nclient.on('error', function(err) {\n  console.error(err.stack)\n})\n\nclient.on('connection', function(connection) {\n  console.log('connected. sending greetings...')\n  client.send('greetings')\n})\n\nclient.on('message', function(message) {\n  console.log('got message:', message.data)\n})\n\nclient.start()\n```\n\n## License\n\n(The Apache 2.0 License)\n\nCopyright (c) 2016 JCore Systems LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoreio%2Fsocket-ipc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcoreio%2Fsocket-ipc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoreio%2Fsocket-ipc/lists"}