{"id":20161049,"url":"https://github.com/delight-rpc/websocket","last_synced_at":"2026-05-10T05:15:16.457Z","repository":{"id":44783039,"uuid":"434156795","full_name":"delight-rpc/websocket","owner":"delight-rpc","description":"🌲","archived":false,"fork":false,"pushed_at":"2024-02-15T08:39:22.000Z","size":1007,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T15:46:23.885Z","etag":null,"topics":["esm","library","nodejs","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@delight-rpc/websocket","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/delight-rpc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-12-02T09:25:02.000Z","updated_at":"2025-04-06T10:28:51.000Z","dependencies_parsed_at":"2024-02-15T09:47:00.365Z","dependency_job_id":null,"html_url":"https://github.com/delight-rpc/websocket","commit_stats":{"total_commits":73,"total_committers":2,"mean_commits":36.5,"dds":0.1095890410958904,"last_synced_commit":"f1a76de743ec641f04e7b11100dcf5e22d2c7bd8"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/delight-rpc/websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fwebsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fwebsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fwebsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fwebsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delight-rpc","download_url":"https://codeload.github.com/delight-rpc/websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fwebsocket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267778843,"owners_count":24143133,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["esm","library","nodejs","npm-package","typescript"],"created_at":"2024-11-14T00:17:08.995Z","updated_at":"2026-05-10T05:15:16.412Z","avatar_url":"https://github.com/delight-rpc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @delight-rpc/websocket\n## Install\n```sh\nnpm install --save @delight-rpc/websocket\n# or\nyarn add @delight-rpc/websocket\n```\n\n## API\n### createClient\n```ts\nfunction createClient\u003cIAPI extends object\u003e(\n  socket: WebSocket\n, options?: {\n    parameterValidators?: DelightRPC.ParameterValidators\u003cIAPI\u003e\n    expectedVersion?: string\n    channel?: string\n    timeout?: number\n  }\n): [client: DelightRPC.ClientProxy\u003cIAPI\u003e, close: () =\u003e void]\n```\n\n### createBatchClient\n```ts\nfunction createBatchClient(\n  socket: WebSocket\n, options?: {\n    expectedVersion?: string\n    channel?: string\n    timeout?: number\n  }\n): [client: DelightRPC.BatchClient, close: () =\u003e void]\n```\n\n### createServer\n```ts\nfunction createServer\u003cIAPI extends object\u003e(\n  api: DelightRPC.ImplementationOf\u003cIAPI\u003e\n, socket: WebSocket\n, options?: {\n    loggerLevel?: Level = Level.None\n    parameterValidators?: DelightRPC.ParameterValidators\u003cIAPI\u003e\n    version?: `${number}.${number}.${number}`\n    channel?: string | RegExp | AnyChannel\n    ownPropsOnly?: boolean\n  }\n): () =\u003e void\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelight-rpc%2Fwebsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelight-rpc%2Fwebsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelight-rpc%2Fwebsocket/lists"}