Official TypeScript SDK and CLI for working with Rool Spaces.
| Package | Description | npm |
|---|---|---|
| @rool-dev/sdk | TypeScript SDK for building Rool applications | |
| @rool-dev/cli | Command-line interface for Rool |
npm install @rool-dev/sdkimport { RoolClient } from '@rool-dev/sdk';
const client = new RoolClient();
const space = await client.createSpace('My Space');
await space.createObject({
data: { type: 'note', content: '{{write something interesting}}' }
});See the SDK documentation for full API reference.
npm install -g @rool-dev/cli
rool --helpSee the CLI documentation for usage.
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Type check
pnpm typecheckMIT - see LICENSE for details.