{"id":20161044,"url":"https://github.com/delight-rpc/extra-native-websocket","last_synced_at":"2025-06-26T15:33:53.260Z","repository":{"id":57699706,"uuid":"498168864","full_name":"delight-rpc/extra-native-websocket","owner":"delight-rpc","description":"🌱","archived":false,"fork":false,"pushed_at":"2025-05-28T06:28:45.000Z","size":859,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T06:33:45.967Z","etag":null,"topics":["browser","esm","library","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@delight-rpc/extra-native-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":"2022-05-31T03:09:34.000Z","updated_at":"2025-05-28T06:28:48.000Z","dependencies_parsed_at":"2025-01-13T13:46:43.677Z","dependency_job_id":"20b74ece-f072-4266-9bc9-da28c78f6c1a","html_url":"https://github.com/delight-rpc/extra-native-websocket","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"4df774f81c26bebe8b596123d997983ffdfefdcd"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/delight-rpc/extra-native-websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fextra-native-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fextra-native-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fextra-native-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fextra-native-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delight-rpc","download_url":"https://codeload.github.com/delight-rpc/extra-native-websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delight-rpc%2Fextra-native-websocket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094953,"owners_count":23258070,"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":["browser","esm","library","npm-package","typescript"],"created_at":"2024-11-14T00:17:08.248Z","updated_at":"2025-06-26T15:33:53.223Z","avatar_url":"https://github.com/delight-rpc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @delight-rpc/extra-native-websocket\n## Install\n```sh\nnpm install --save @delight-rpc/extra-native-websocket\n# or\nyarn add @delight-rpc/extra-native-websocket\n```\n\n## API\n### createClient\n```ts\nfunction createClient\u003cIAPI extends object\u003e(\n  socket: ExtraNativeWebSocket\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: ExtraNativeWebSocket\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: ExtraNativeWebSocket\n, options?: {\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%2Fextra-native-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelight-rpc%2Fextra-native-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelight-rpc%2Fextra-native-websocket/lists"}