@yasumu/core package on npm.
Install the package
Install using your preferred package manager:Package configuration
The package supports multiple module systems and runtimes:Supported runtimes
- Node.js - CommonJS and ESM modules
- Deno - Direct TypeScript import
- Bun - Native ESM support
- Browser - Bundler-compatible
TypeScript configuration
The package includes TypeScript definitions. No additional@types packages are needed.
Create a Yasumu instance
After installation, create a Yasumu instance with a platform bridge:Platform bridge
The platform bridge is required and connects the SDK to the Yasumu backend. It must implement thePlatformBridge interface:
- RPC communication with the backend
- Platform-specific API calls
- Serialization and deserialization
Next steps
Yasumu class
Learn about the main SDK class
Workspace
Create and manage workspaces