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

@n8ventures/isyoutubelive

v2.2.0

Published

A simple Node.js module to check if a YouTube channel is live or get its latest uploaded video without using YouTube API.

Readme

npm npm version GitHub issues npm bundle size NPM License

Originally created by Amith VP, maintained and extended by N8VENTURES.

NPM

NPM Module to check whether YouTube channel is live or not. WITHOUT YOUTUBE API KEY Return object with live status, video title, video url.

Now also returns latest YouTube channel upload with checkVideo(channel) and latest YouTube short with checkShort(channel)

Installation

npm i @n8ventures/isyoutubelive

Usage

const { checkLive, checkVideo, checkShort } = require("@n8ventures/isyoutubelive")

const channel = '@LinusTechTips'; // Can be Channel ID, @Handle, YT URLs

const liveData = await checkLive(channel);
console.log('Live Data:', liveData);

const videoData = await checkVideo(channel);
console.log('Latest Video:', videoData);

const shortData = await checkShort(channel);
console.log('Latest Short:', shortData);

Supported channel formats:

'@LinusTechTips'
'UCXuqSBlHAE6Xw-yeJA0Tunw'
'https://www.youtube.com/@LinusTechTips'
'https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw'

checkLive() returns

{
  is_live: boolean,
  is_upcoming: boolean,
  title: string,
  url: string | null,
  videoId: string | null,
  startTime: string | null,
} 

checkVideo() returns

{
  title: string,
  url: string,
  publishedTime: string,
  videoId: string,
  isMembersOnly: boolean,
  latestIsMembersOnly?: boolean,
  warning: string | null,
} 

checkShort() returns the same structure as checkVideo()

{
  title: string,
  url: string,
  publishedTime: string,
  videoId: string,
  isMembersOnly: boolean,
  latestIsMembersOnly?: boolean,
  warning: string | null,
} 

If you want the possibility of including Members Only videos/shorts, you can use mode=false meaning it should try to detect Members Only stuff. Due to how YouTube exposes channel data, detection of members-only uploads is not guaranteed in all cases.

await checkVideo(channel, false);
await checkShort(channel, false);

mode='membersOnly' will only capture Members Only content. However this will not include the latestIsMembersOnly field.

await checkVideo(channel, 'membersOnly');
await checkShort(channel, 'membersOnly');

More info below

Members-only mode

When using:

await checkVideo(channel, 'membersOnly');

or

await checkShort(channel, 'membersOnly');

the returned object will not include:

latestIsMembersOnly

because all returned results are already members-only content.

Additional information

warning contains additional information when the package encounters limitations while detecting content. Otherwise it will be null.

startTime is an ISO 8601 timestamp and is only available for upcoming streams.

Example:

{
  startTime: '2026-06-17T14:00:00.000Z'
}