@erebus-sh/sdk
v0.0.179
Published
To install dependencies:
Maintainers
Readme
Erebus SDK (Beta)
Welcome to the official Erebus SDK package. Please refer to the documentation to get started at docs.
Install
You can install @erebus/sdk using your favorite package manager:
npm install @erebus/sdk
# or
pnpm install @erebus/sdk
# or
bun add @erebus/sdkWhat is this?
This SDK provides type safety you can trust, Zod at the core. And application interfaces to interact with the Erebus infrastructure.
Available primitives
- Pub/Sub Channels
- Live state (coming soon)
- AI streams (coming soon)
- Multiplier verticals (coming soon)
Quickstart example
import { createChannel } from "@erebus-sh/sdk";
import { z } from "zod";
export const schema = {
chat: z.object({
message: z.string(),
sentAt: z.number(),
}),
};
export const useChannel = createChannel(schema);Documentation
Full SDK documentation is available on the official documentation website.
