The FastPubSub JavaScript SDK is now published on npm: @fastpubsub-sdk/client. It works in the browser and in Node.js, with a small client API for connecting, publishing, and subscribing to channels over WebSocket.
Install it with:
npm install @fastpubsub-sdk/client
Together with the Rust SDK on crates.io, developers can now integrate FastPubSub from both backend and frontend code without writing the low-level protocol by hand.
We are also preparing several interactive demo projects on FastPubSub.com that show real-world use cases built on top of the network. The first examples include:
- Online Radio — multi-station live audio streaming with metadata snapshots and low-latency Opus frames over pub/sub channels.
- Paint Board — collaborative dot painting where many clients share a canvas in real time through a public channel.
More demos are on the way. They will serve as both live showcases of FastPubSub and reference implementations you can learn from when building your own applications.