{"id":44215809,"url":"https://github.com/petatemarvin26/vin-socket.client","last_synced_at":"2026-02-10T01:37:20.343Z","repository":{"id":166248288,"uuid":"640741669","full_name":"petatemarvin26/vin-socket.client","owner":"petatemarvin26","description":"This application maintain the light weight of websocket connection","archived":false,"fork":false,"pushed_at":"2024-07-07T12:37:35.000Z","size":11374,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"prod","last_synced_at":"2025-10-03T20:51:35.776Z","etag":null,"topics":["javascript","typescript","webpack","websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petatemarvin26.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":"2023-05-15T03:02:13.000Z","updated_at":"2024-07-07T12:37:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1d0cdf9-dc3e-416a-934b-f026ef39a289","html_url":"https://github.com/petatemarvin26/vin-socket.client","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"2891335be4f498f96bd76c3a2c8410a436268f7a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/petatemarvin26/vin-socket.client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petatemarvin26%2Fvin-socket.client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petatemarvin26%2Fvin-socket.client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petatemarvin26%2Fvin-socket.client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petatemarvin26%2Fvin-socket.client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petatemarvin26","download_url":"https://codeload.github.com/petatemarvin26/vin-socket.client/tar.gz/refs/heads/prod","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petatemarvin26%2Fvin-socket.client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29288651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"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":["javascript","typescript","webpack","websocket"],"created_at":"2026-02-10T01:37:19.534Z","updated_at":"2026-02-10T01:37:20.338Z","avatar_url":"https://github.com/petatemarvin26.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## VIN-SOCKET.CLIENT\n\nIs a websocket client side connection that minified the functionalities and strategies of [Websocket][ws] for easy implementation of websocket.\n\nThis module required to install its peer module [vin-socket.server][peer-lib] for server side in order to work correctly.\n\n#\n\n### Installation\n\n```shell\nnpm install vin-socket.client\n```\n\n#\n\n### Features\n\n- Easy to consume\n- Modern approach\n- Background digestion as binary\n\n#\n\n### Usage Examples\n\nConnect to Websocket Server\n\n```Javascript\nimport {SocketClient} from 'vin-socket.client';\n\n// global scope\nconst socket = new SocketClient('ws://localhost:3200');\n\nconst App: React.FC = () =\u003e {\n\n  useEffect(() =\u003e {\n    socket.onConnect(() =\u003e {\n      // user has been connected\n    })\n    socket.emit('my:event', {message: 'Hello World'})\n  }, [])\n\n  return (\n    \u003cdiv\u003eHELLO WORLD\u003c/div\u003e\n  )\n}\n\n```\n\n\u003e NOTE: We recommend to put the SocketClient instance in global scope or top of the code\n\n#\n\n### Contributing\n\nUnfortunately we are not accepting any contributors yet this is under probitionary, but for your concerns and possible suggestions just email me at petatemarvin26@gmail.com\n\n#\n\n### Changelog\n\nWe're using github [release][github-release] and based on semantic versioning\n\n#\n\n### License\n\n[ISC][license]\n\n[ws]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n[nodejs]: https://nodejs.org/en\n[github-release]: https://github.com/petatemarvin26/vin-socket.client/releases\n[license]: ./LICENSE\n[peer-lib]: https://www.npmjs.com/package/vin-socket.server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetatemarvin26%2Fvin-socket.client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetatemarvin26%2Fvin-socket.client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetatemarvin26%2Fvin-socket.client/lists"}