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

@absolutejs/meeting-discord

v0.0.1-beta.11

Published

Discord voice source adapter for @absolutejs/meeting — a bot joins a Discord voice channel and streams per-participant audio (speakers known, no diarization needed) into the meeting core for live transcription + analysis

Readme

@absolutejs/meeting-discord

Discord voice source adapter for @absolutejs/meeting. A bot joins a Discord voice channel and streams each participant's audio into the meeting core, so the @absolutejs/voice scribe can transcribe the conversation live.

Discord gives one audio stream per user, so speakers are known exactly — each transcript turn is labelled with the real Discord user, no diarization needed.

How it works

@discordjs/voice exposes a per-user Opus stream for everyone speaking. This adapter subscribes to each, decodes Opus → PCM (48 kHz stereo) and downmixes to mono pcm_s16le, and emits it as audio tagged with the Discord user id.

Discord voice channel ──(per-user Opus)──▶ adapter (decode + downmix) ──▶ @absolutejs/meeting ──▶ scribe ──▶ per-speaker turns

Install

bun add @absolutejs/meeting-discord @absolutejs/meeting @absolutejs/voice discord.js @discordjs/voice
# Discord voice also needs an Opus codec + an encryption lib at runtime:
bun add @discordjs/opus libsodium-wrappers
# (or the pure-JS / native alternatives: opusscript, sodium-native, tweetnacl)

The bot application needs the Guilds + Guild Voice States gateway intents and the Connect permission in the target channel.

Usage

import { createMeeting } from "@absolutejs/meeting";
import { createDiscordMeetingSource } from "@absolutejs/meeting-discord";
import { deepgram } from "@absolutejs/voice-deepgram";

const source = createDiscordMeetingSource({
  token: process.env.DISCORD_BOT_TOKEN!,
  guildId: "123…", // server id
  channelId: "456…", // voice channel id
});

const meeting = await createMeeting({
  source,
  stt: deepgram({ apiKey: process.env.DEEPGRAM_API_KEY! }),
  sessionId: crypto.randomUUID(),
});
meeting.on("turn", (turn) => console.log(turn.participant?.name, turn.text));

await meeting.start(); // bot joins the channel + starts listening
// …
await meeting.stop(); // bot leaves

Pass a pre-built, logged-in client instead of token to share one Discord client across features.

API

  • createDiscordMeetingSource(options)MeetingSource.
    • start() logs in (if given a token), joins the voice channel, and subscribes to each speaker.
    • stop() leaves the channel + destroys the client it created.
  • DISCORD_AUDIO_FORMAT — the mono 48 kHz pcm_s16le format it emits.
  • stereoToMono(buf) — the downmix helper (exported for reuse/testing).

License

CC BY-NC 4.0