npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@skribby/sdk

v0.9.1

Published

Typescript SDK for Skribby Meeting Bot API

Readme

Skribby Typescript SDK

Skribby is an API-first platform for capturing, transcribing, and processing online meetings. Deploy meeting bots into Zoom, Microsoft Teams, and Google Meet to receive real-time or post-call transcription, audio, and structured data.

Install

npm install @skribby/sdk

Quick Start

import { createClient } from '@skribby/sdk';

const client = createClient({
  api_key: 'SKRIBBY_API_KEY',
});

const jpClient = createClient({
  api_key: 'SKRIBBY_API_KEY',
  region: 'jp',
});

const customClient = createClient({
  api_key: 'SKRIBBY_API_KEY',
  base_url: 'https://platform-jp.skribby.io/api/v1',
});

(async () => {
  const bot = await client.createBot({
    bot_name: 'My Meeting Bot',
    meeting_url: 'https://meet.google.com/abc-defg-hij',
    service: 'gmeet',
    transcription_model: 'deepgram/nova-2-realtime',
  });

  // If the chosen transcription model is real-time
  const realtimeClient = bot.getRealtimeClient();

  // When you connect, you'll instantly receive a "connected" event that contains
  // all transcripts generated up to the point of connection.
  realtimeClient.on('connected', (data) => {
    console.log(`Initial transcripts received: ${data.transcripts.length}`);
  });

  realtimeClient.on('ts', (data) => {
    console.log(`${data.speaker_name} said: ${data.transcript}`);

    // You can fetch the full transcription at any time:
    // (Note: returns an array of transcript segments)
    const fullTranscriptSoFar = realtimeClient.transcript;

    if (data.transcript.toLowerCase().includes('hello')) {
      realtimeClient.send('chat-message', {
        content: 'Hello back! :)',
      });
    }
    if (data.transcript.toLowerCase().includes('stop the bot')) {
      realtimeClient.send('stop');
    }
  });

  realtimeClient.connect();
})();

Bot Operations

Create a Bot

const bot = await client.createBot({
  bot_name: 'My Meeting Bot',
  meeting_url: 'https://meet.google.com/abc-defg-hij',
  service: 'gmeet',
  transcription_model: 'groq/whisper-large-v3-turbo',
  webhook_url: 'https://your-server.com/webhook', // Optional: receive status updates
});

Get a Bot by ID

const bot = await client.getBotById('bot_123');

Get Bot Pricing

const pricing = await client.getBotPricing('bot_123');

console.log(pricing.currency); // USD
console.log(pricing.total.rate_per_hour); // e.g. 0.92
console.log(pricing.total.amount); // null while in progress, number when finished

// If you already have a MeetingBot instance:
const bot = await client.getBotById('bot_123');
if (bot) {
  const pricingFromBot = await bot.getPricing();
  console.log(pricingFromBot.total.amount);
}

Get All Scheduled Bots

const scheduledBots = await client.getScheduledBots();

Update a Scheduled Bot

// Update via client
await client.updateBot('bot_123', {
  bot_name: 'Updated Bot Name',
  meeting_url: 'https://meet.google.com/new-meeting-url',
});

// Or update via bot instance
await bot.update({
  bot_name: 'Updated Bot Name',
});

Stop a Bot

await bot.stop();

Delete a Bot

await bot.delete();

Send a Chat Message

await bot.sendChatMessage('Hello from the bot!');

Recording Operations

Upload and transcribe recordings independently of meeting bots.

Create a Recording from URL

const recording = await client.createRecording({
  recording_url: 'https://example.com/meeting-recording.mp4',
  transcription_model: 'groq/whisper-large-v3-turbo',
  lang: 'en',
  webhook_url: 'https://your-server.com/webhook', // Optional
});

Re-transcribe from a Meeting Bot

const recording = await client.createRecording({
  meeting_bot_id: 'bot_123',
  transcription_model: 'deepgram/nova-2', // Override the original model
});

Get a Recording by ID

const recording = await client.getRecordingById('rec_123');
console.log(recording.data.transcript);

Refresh Recording Data

await recording.refresh();
console.log(recording.data.status); // Check updated status

Delete a Recording

await recording.delete();

Real-time Transcription

For bots using real-time transcription models (e.g., deepgram/nova-2-realtime, assemblyai/universal-streaming):

const realtimeClient = bot.getRealtimeClient();

// Listen for transcription events
realtimeClient.on('ts', (data) => {
  console.log(`${data.speaker_name}: ${data.transcript}`);
});

// When you connect, you'll instantly receive a "connected" event that contains
// all transcripts generated up to the point of connection.
realtimeClient.on('connected', (data) => {
  console.log(`Initial transcripts received: ${data.transcripts.length}`);
});

// Listen for chat messages
realtimeClient.on('chat-message', (data) => {
  console.log(`Chat from ${data.username}: ${data.content}`);
});

// Listen for participant events
realtimeClient.on('participant-tracked', (data) => {
  console.log(
    `Participant detected: ${data.participantName} at ${new Date(data.timestamp).toISOString()}`,
  );
});

realtimeClient.on('started-speaking', (data) => {
  console.log(
    `${data.participantName} started speaking at ${new Date(data.timestamp).toISOString()}`,
  );
});

// Participant state payload timestamps are epoch milliseconds.
realtimeClient.on('participant-muted', (data) => {
  console.log(
    `${data.participantName} muted at ${new Date(data.timestamp).toISOString()}`,
  );
});

// Listen for status updates
realtimeClient.on('status-update', (data) => {
  console.log(`Bot status changed: ${data.old_status} -> ${data.new_status}`);
});

// Send actions
realtimeClient.send('chat-message', { content: 'Hello!' });
realtimeClient.send('stop'); // Stop the bot

// You can fetch the full transcription at any time:
// (Note: returns an array of transcript segments)
console.log('Full transcript so far:', realtimeClient.transcript);

await realtimeClient.connect();

Participant events

Realtime participant listeners use these event names:

  • participant-tracked
  • started-speaking
  • stopped-speaking
  • participant-left
  • participant-rejoined
  • participant-muted
  • participant-unmuted
  • participant-camera-on
  • participant-camera-off
  • participant-started-screenshare
  • participant-stopped-screenshare

Each listener receives the same typed payload:

import type { RealtimeParticipantEventName } from '@skribby/sdk';

const participantEvents: RealtimeParticipantEventName[] = [
  'participant-tracked',
  'started-speaking',
  'stopped-speaking',
  'participant-left',
  'participant-rejoined',
  'participant-muted',
  'participant-unmuted',
  'participant-camera-on',
  'participant-camera-off',
  'participant-started-screenshare',
  'participant-stopped-screenshare',
];

for (const eventName of participantEvents) {
  realtimeClient.on(
    eventName,
    ({ participantId, participantName, timestamp, state, lastSeenAt }) => {
      console.log({
        eventName,
        participantId,
        participantName,
        occurredAt: new Date(timestamp),
        state,
        lastSeenAt: lastSeenAt != null ? new Date(lastSeenAt) : undefined,
      });
    },
  );
}

timestamp and optional lastSeenAt are epoch-millisecond timestamps. The optional state field contains the participant's latest presence, microphone, camera, and screenshare state.

When participant timelines are requested from the API, their type values are started-speaking, stopped-speaking, left, rejoined, muted, unmuted, camera-on, camera-off, started-screenshare, and stopped-screenshare. First-seen time remains available separately as Participant.first_seen_at. Participant.events models the raw API response with an epoch-millisecond timestamp; bot.data.participants follows the SDK's parsed data convention and exposes event timestamps as Date values.

Newly recorded participant records expose presence timing through last_seen_at, optional left_at, and presence_intervals. Raw API first_seen_at is an ISO date string, while last_seen_at, left_at, and each presence interval timestamp are epoch milliseconds. The corresponding fields on bot.data.participants are parsed as Date values. These additive fields may be absent from historical or rolling-version responses:

for (const participant of bot.data.participants) {
  console.log({
    lastSeenAt: participant.last_seen_at,
    leftAt: participant.left_at,
    presenceIntervals: participant.presence_intervals ?? [],
  });
}

AssemblyAI Universal-3.5 Pro

Use assemblyai/universal-3-5-pro as the canonical AssemblyAI Universal-3.5 Pro model key. Existing integrations may continue sending the deprecated assemblyai/universal-3-pro key, which the platform routes to Universal-3.5 Pro. AssemblyAI streaming model identifiers are unchanged.

Google Cloud Chirp 3 and AWS Transcribe

Use the canonical model key for Google Cloud Speech-to-Text V2 Chirp 3 (google/chirp-3 or google/chirp-3-realtime) or AWS Transcribe (aws/transcribe or aws/transcribe-streaming). The -realtime and -streaming keys are real-time models; the other keys are batch models.

const batchBot = await client.createBot({
  bot_name: 'Chirp 3 batch bot',
  meeting_url: 'https://meet.google.com/abc-defg-hij',
  service: 'gmeet',
  transcription_model: 'google/chirp-3',
});

const realtimeBot = await client.createBot({
  bot_name: 'AWS streaming bot',
  meeting_url: 'https://meet.google.com/abc-defg-hij',
  service: 'gmeet',
  transcription_model: 'aws/transcribe-streaming',
});

For realtime bring-your-own credentials (google/chirp-3-realtime and aws/transcribe-streaming only), pass the existing credential UUID as transcription_credentials when creating or updating a bot or recording; batch models use managed credentials. The SDK does not create or update transcription credentials.

Webhooks

When you provide a webhook_url, Skribby will POST events to your server:

{
  "type": "status_update",
  "data": {
    "old_status": "joining",
    "new_status": "recording"
  }
}

Documentation

Refer to the Skribby documentation page for more details.