QubicTypeScript

Installation

How to install @qubic.org/bob and configure your project.

bun add @qubic.org/bob
npm install @qubic.org/bob
pnpm add @qubic.org/bob

Peer dependencies

@qubic.org/bob requires @qubic.org/types as a peer dependency for branded identity types used in event log subscriptions.

bun add @qubic.org/types
npm install @qubic.org/types
pnpm add @qubic.org/types

Runtime requirements

@qubic.org/bob uses the WebSocket global. This is available natively in Bun, Node.js 22+, and all modern browsers. For older Node.js versions, polyfill with the ws package or upgrade your runtime.

The package is published as ESM only. CommonJS (require) is not supported. Use "type": "module" in your package.json or a bundler that handles ESM imports.

On this page