UNPKG

@streamelements/bot-api

Version:

ConnectRPC v2 client for bot-api - auto-generated from Protocol Buffers

44 lines (31 loc) 800 B
# @streamelements/bot-api ConnectRPC client for bot-api. ## Installation ```bash # npm npm install @streamelements/bot-api # bun bun add @streamelements/bot-api # yarn yarn add @streamelements/bot-api # pnpm pnpm add @streamelements/bot-api ``` ## Usage ### ESM (Node.js, Bun, Deno) ```typescript import { service_v1 } from '@streamelements/bot-api'; // or import specific version import { YourService } from '@streamelements/bot-api/api/service/v1'; ``` ### CommonJS (Legacy Node.js) ```javascript 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.) ## Version: 1.9.0