{"id":28753153,"url":"https://github.com/alloc/hattip-ws","last_synced_at":"2026-03-11T15:02:49.976Z","repository":{"id":277915965,"uuid":"933920437","full_name":"alloc/hattip-ws","owner":"alloc","description":"Quickly integrate crossws with Hattip","archived":false,"fork":false,"pushed_at":"2025-05-13T18:48:42.000Z","size":108,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T21:41:56.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/alloc.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,"zenodo":null}},"created_at":"2025-02-17T01:00:58.000Z","updated_at":"2025-05-13T18:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d03e0e9-6595-4958-bc22-d39f35fdf9ca","html_url":"https://github.com/alloc/hattip-ws","commit_stats":null,"previous_names":["alloc/hattip-ws"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/alloc/hattip-ws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Fhattip-ws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Fhattip-ws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Fhattip-ws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Fhattip-ws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alloc","download_url":"https://codeload.github.com/alloc/hattip-ws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Fhattip-ws/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260268635,"owners_count":22983601,"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":"2025-06-17T00:38:48.589Z","updated_at":"2026-03-11T15:02:44.929Z","avatar_url":"https://github.com/alloc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hattip-ws\n\nA lightweight wrapper that helps you integrate `crossws` with [Hattip](https://github.com/hattipjs/hattip).\n\n\u003e [!WARNING]\n\u003e This package is unmaintained. Check out [alien-ws](https://github.com/alien-rpc/alien-ws) for a maintained alternative. The difference is which middleware library is used (`@hattip/compose` vs `alien-middleware`). If you wish to maintain this package, let me now and I'll transfer it to you.\n\n## Usage\n\nFollow the instructions for your server:\n\n- [Node.js](https://github.com/alloc/hattip-ws/tree/main/src/adapters/node)\n- [Deno](https://github.com/alloc/hattip-ws/tree/main/src/adapters/deno)\n- [Cloudflare Workers](https://github.com/alloc/hattip-ws/tree/main/src/adapters/cloudflare-workers)\n- [Bun](https://github.com/alloc/hattip-ws/tree/main/src/adapters/bun)\n- [UWS](https://github.com/alloc/hattip-ws/tree/main/src/adapters/uwebsockets)\n\n## Framework Usage\n\nIf you're building a framework on top of Hattip, you may find the root entry point useful. It contains generalized types for the adapters, so developers can pass an “adapter factory” to the framework.\n\n```ts\nimport type {\n  WebSocketAdapterFactory,\n  WebSocketAdapterOptions,\n  WebSocketAdapter,\n} from 'hattip-ws'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Fhattip-ws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falloc%2Fhattip-ws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Fhattip-ws/lists"}