Socket
Book a DemoInstallSign in
Socket

@hitomaru/masterchat

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hitomaru/masterchat

JavaScript library for YouTube Live Chat

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

Masterchat

npm npm: total downloads npm: publish size typedoc

Masterchat is the most powerful library for YouTube Live Chat, supporting parsing 20+ actions, video comments and transcripts, as well as sending messages and moderating chats.

Install

npm install @hitomaru/masterchat
import { Masterchat, stringify } from "@hitomaru/masterchat";

const mc = await Masterchat.init("oyxvhJW1Cf8");

const chats = mc.iter().filter((action) => action.type === "addChatItemAction");

for await (const chat of chats) {
  console.log(`${chat.authorName}: ${stringify(chat.message)}`);
}

See MANUAL for further instructions.

CLI

npm i -g masterchat-cli
mc watch --org Hololive

See masterchat-cli for detailed usage.

Desktop App

See ☄️Komet for further information.

Community

Contributing

  • Use masterchat with DEBUG=masterchat and report logs that are prefixed with [action required]
  • Squash TODOs

See Contribution Guide for more information. Ask questions in #masterchat channel on holodata Discord server.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


uetchy

💻

Shiaupiau

💻

Jan Procházka

💻

sphinxrave

🐛

David Chen

🐛 🤔

Evgeniy Istomin

📖

This project follows the all-contributors specification. Contributions of any kind are welcome!

Projects using Masterchat

Keywords

livechat

FAQs

Package last updated on 06 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.