{"id":21166008,"url":"https://github.com/peterdee/node-ws-als","last_synced_at":"2026-05-10T14:50:07.212Z","repository":{"id":103803819,"uuid":"393347340","full_name":"peterdee/node-ws-als","owner":"peterdee","description":"Testing AsyncLocalStorage with Socket.IO","archived":false,"fork":false,"pushed_at":"2021-08-06T10:58:46.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"stage","last_synced_at":"2025-03-14T16:49:12.162Z","etag":null,"topics":["asynclocalstorage","nodejs","socket-io"],"latest_commit_sha":null,"homepage":"http://localhost:2112","language":"JavaScript","has_issues":false,"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/peterdee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-08-06T10:50:47.000Z","updated_at":"2021-08-06T11:00:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"521bc73a-5f59-4069-acc5-3130d246d526","html_url":"https://github.com/peterdee/node-ws-als","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterdee/node-ws-als","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fnode-ws-als","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fnode-ws-als/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fnode-ws-als/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fnode-ws-als/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterdee","download_url":"https://codeload.github.com/peterdee/node-ws-als/tar.gz/refs/heads/stage","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterdee%2Fnode-ws-als/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32860226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["asynclocalstorage","nodejs","socket-io"],"created_at":"2024-11-20T14:47:53.029Z","updated_at":"2026-05-10T14:50:07.189Z","avatar_url":"https://github.com/peterdee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## node-ws-als\n\nTesting [AsyncLocalStorage](https://nodejs.org/api/async_context.html#async_context_class_asynclocalstorage) with [Socket.IO](https://socket.io)\n\n[Store](./store.js) is initialized in the [middleware](./middleware.js), and then accessed in [router](./router.js).\n\nAccessing the [store](./store.js) directly in [handler](./handler.js) is not possible, data should be passed as an argument.\n\n### Deploy\n\n```shell script\ngit clone https://github.com/peterdee/node-ws-als\ncd ./node-ws-als\nnvm use 16\nnpm i\n```\n\n### Launch\n\n```shell script\nnpm start\n```\n\nBackend will be running on http://localhost:1221\n\nFrontend will be runnung on http://localhost:2112\n\n### License\n\n[MIT](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fnode-ws-als","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterdee%2Fnode-ws-als","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterdee%2Fnode-ws-als/lists"}