Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
wsx-proto/wsxClient for Wsx framework. RPC, Pub/Sub, routing and end-to-end typesafety for WebSockets
This package works with Cloudflare Workers, Deno, Bun, BrowsersIt is unknown whether this package works with Node.js




JSR Score
100%
Published
2 months ago (0.0.16)
Client for Wsx framework. RPC, Pub/Sub, routing and end-to-end typesafety for WebSockets
import { Client } from "@wsx/client" // app is an instance of Wsx import type { app } from "@my-project/server" const { routes: {user} } = await Client<typeof app>('localhost:3000') const newUserId = await user.create.call({ email: "meowningmaster@gmail.com" }) console.info(newUserId)
Built and signed on
GitHub Actions
Add Package
deno add jsr:@wsx/client
Import symbol
import * as client from "@wsx/client";
Import directly with a jsr specifier
import * as client from "jsr:@wsx/client";
Add Package
pnpm i jsr:@wsx/client
pnpm dlx jsr add @wsx/client
Import symbol
import * as client from "@wsx/client";
Add Package
yarn add jsr:@wsx/client
yarn dlx jsr add @wsx/client
Import symbol
import * as client from "@wsx/client";
Add Package
vlt install jsr:@wsx/client
Import symbol
import * as client from "@wsx/client";
Add Package
npx jsr add @wsx/client
Import symbol
import * as client from "@wsx/client";
Add Package
bunx jsr add @wsx/client
Import symbol
import * as client from "@wsx/client";