The OpenSocket JS SDK is a monorepo that provides JavaScript-based SDKs for building real-time, socket-based applications across multiple JavaScript frameworks and environments. With vendor-agnostic APIs, you can switch between socket providers (like Ably, Socket.IO, and Pusher) effortlessly while maintaining a consistent API.
The js-sdk
repository includes the following packages:
js-sdk/
├── packages/
│ ├── core/ # Provides the core API and Provider Interface
│ ├── react/ # SDK for React
│ ├── next/ # SDK for Next.js
│ ├── vanilla/ # SDK for Vanilla JavaScript
│ └── angular/ # SDK for Angular
npm install @opensocket/core-js
npm install @opensocket/react-sdk
Interested in contributing? Great, we'd love your help! To get started, take a look at the CONTRIBUTING guide.
Made with ❤