SDK for interacting with AI Dungeon APIs.
npm install ai-dungeon-sdkSDK for interacting with AI Dungeon APIs.
``sh`
npm install ai-dungeon-sdkor
pnpm add ai-dungeon-sdkor
yarn add ai-dungeon-sdk
Import and use in your TypeScript or JavaScript project:
`ts
import { deepFreeze, HookParams, HookReturn } from "ai-dungeon-sdk";
// Example usage
const frozen = deepFreeze({ foo: "bar" });
`
- deepFreeze — Recursively freezes an object.HookParams
- Types: , HookReturn`, and related types for AI Dungeon scripting.
MIT