Skip to content

Rool SDK - oprganize data and build apps with AI powered Rool Spaces

License

Notifications You must be signed in to change notification settings

rool-dev/rool-js

Repository files navigation

Rool JavaScript

Official TypeScript SDK and CLI for working with Rool Spaces.

Packages

Package Description npm
@rool-dev/sdk TypeScript SDK for building Rool applications npm
@rool-dev/cli Command-line interface for Rool npm

Quick Start

SDK

npm install @rool-dev/sdk
import { 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.

CLI

npm install -g @rool-dev/cli
rool --help

See the CLI documentation for usage.

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Type check
pnpm typecheck

License

MIT - see LICENSE for details.

About

Rool SDK - oprganize data and build apps with AI powered Rool Spaces

Resources

License

Stars

Watchers

Forks

Packages

No packages published