Installation
Core is framework-agnostic. Import the separate Next.js and RSocket entry points only when you use those features.
npm install
Core (framework-independent)
Standard HTTP requests, NDJSON streaming, HeaderStore, session auth, and CSR cache are included in the default entry point. Core can be used without Next.js.
Next.js adapter (optional)
RSocket adapter (optional)
Install the peer packages only in projects that use RSocket.
OpenAPI/Swagger Auto Node Script (optional)
In addition to the runtime HTTP client, the package includes a Node script that generates TypeScript types and service files from OpenAPI/Swagger JSON. This feature is optional and is not required to use Core, /next, or /rsocket.