@streamelements/bot-api
v1.9.0
Published
ConnectRPC v2 client for bot-api - auto-generated from Protocol Buffers
Readme
@streamelements/bot-api
ConnectRPC client for bot-api.
Installation
# npm
npm install @streamelements/bot-api
# bun
bun add @streamelements/bot-api
# yarn
yarn add @streamelements/bot-api
# pnpm
pnpm add @streamelements/bot-apiUsage
ESM (Node.js, Bun, Deno)
import { service_v1 } from '@streamelements/bot-api';
// or import specific version
import { YourService } from '@streamelements/bot-api/api/service/v1';CommonJS (Legacy Node.js)
const { service_v1 } = require('@streamelements/bot-api');Runtime Support
This package is built with modern JavaScript runtimes in mind:
- ✅ Node.js 18+
- ✅ Bun 1.0+
- ✅ Deno (with npm: specifier)
- ✅ Edge runtimes (Cloudflare Workers, Vercel Edge, etc.)
