{"id":18727081,"url":"https://github.com/stisa/jswebsockets","last_synced_at":"2025-04-09T16:19:02.370Z","repository":{"id":80314456,"uuid":"83571973","full_name":"stisa/jswebsockets","owner":"stisa","description":"Websocket wrapper for nim js backend","archived":false,"fork":false,"pushed_at":"2017-03-25T21:10:11.000Z","size":31,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T16:18:53.352Z","etag":null,"topics":["hacktoberfest","js-backend","nim","websockets","ws"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/stisa.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-03-01T15:48:11.000Z","updated_at":"2022-04-14T17:57:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8eb4749f-865a-4f64-963f-42ee3d7b0407","html_url":"https://github.com/stisa/jswebsockets","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stisa%2Fjswebsockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stisa%2Fjswebsockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stisa%2Fjswebsockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stisa%2Fjswebsockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stisa","download_url":"https://codeload.github.com/stisa/jswebsockets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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":["hacktoberfest","js-backend","nim","websockets","ws"],"created_at":"2024-11-07T14:16:21.691Z","updated_at":"2025-04-09T16:19:02.364Z","avatar_url":"https://github.com/stisa.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"JsWebsockets\n----\n\nBeginning of a wrapper for websockets, for the javascript backend of [nim](https://nim-lang.org)\n  \n[Examples](http://stisa.space/jswebsockets)  \n\n[Generated Docs](http://stisa.space/jswebsockets/jswebsockets.html)\n\n```nim\nimport jswebsockets\n\nvar\n  socket = newWebSocket(\"ws://echo.websocket.org/\")\n\nsocket.onOpen = proc (e:Event) =\n  echo(\"sent: test\")\n  socket.send(\"test\")\nsocket.onMessage = proc (e:MessageEvent) =\n  echo(\"received: \",e.data)\n  socket.close(StatusCode(1000),\"received msg\")\nsocket.onClose = proc (e:CloseEvent) =\n  echo(\"closing: \",e.reason)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstisa%2Fjswebsockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstisa%2Fjswebsockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstisa%2Fjswebsockets/lists"}