
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@freetube/youtube-chat
Advanced tools
Fetch Youtube live chat without API
This module is a fork of youtube-chat
, which was written by LinaTsukusu and fixed up by IcedCoffeee.
Since the original maintainer doesn't work on this package, we forked it and maintain it for the needs of FreeTube.
You will need to take full responsibility for your actions
npm i youtube-chat
yarn add youtube-chat
const LiveChat = require('youtube-chat').LiveChat
import {LiveChat} from 'youtube-chat'
// If channelId is specified, liveId in the current stream is automatically acquired.
const liveChat = new LiveChat({channelId: 'UCxkOLgdNumvVIQqn5ps_bJA?'})
// Or specify LiveID in Stream manually.
const liveChat = new LiveChat({liveId: 'bc5DoKBZRIo'})
// Emit at start of observation chat.
// liveId: string
liveChat.on('start', (liveId) => {})
// Emit at end of observation chat.
// reason: string?
liveChat.on('end', (reason) => {})
// Emit at receive chat.
// comment: CommentItem
liveChat.on('comment', (comment) => {})
// Emit when an error occurs
// err: Error
liveChat.on('error', (err) => {})
interface CommentItem {
id: string
author: {
name: string
thumbnail?: ImageItem
channelId: string
badge?: {
thumbnail: ImageItem
label: string
}
}
message: MessageItem[]
superchat?: {
amount: string
color: number
}
membership: boolean
isOwner: boolean
timestamp: number
}
type MessageItem = { text: string } | ImageItem
interface ImageItem {
url: string
alt: string
width: number
height: number
}
FAQs
> Fetch Youtube live chat without API
We found that @freetube/youtube-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.