youtube-alert

2.0.0 • Public • Published
stats

Buy Me A Coffee

npm version npm info

Typing SVG

To Install the youtube-alert module, open a console and write the code below.
For npm

npm i youtube-alert

For Yarn

yarn add youtube-alert

Typing SVG

For CommonJS

const { YouTube }= require("youtube-alert")
const YouTubeClient = new YouTube()

For ES6

import { YouTube } from "youtube-alert";
const YouTubeClient = new YouTube()

Typing SVG

Click Here To Get Support!

# Function

YouTubeClient.setChannel("YouTube Channel ID")

# Events

YouTubeClient.on("newPost", async(data) => {
console.log(data);
})

Typing SVG

id: "yt:video:5WtlCEgsoiE",
videoID: "5WtlCEgsoiE",
title: "Brawlhalla Ranked 2v2 (Backstage)",
link: "https://www.youtube.com/watch?v=5WtlCEgsoiE",
author: "Be$",
published: 2022-04-24T21:33:47+00:00,
updated: 2022-07-24T10:04:09+00:00,
thumbnail: "https://i2.ytimg.com/vi/5WtlCEgsoiE/hqdefault.jpg",
description: "2v2 ft. Luppux",
views: "40",
check_date: 23/05/2023 21:35:03



Typing SVG

Discord Banner
Buy Me A Coffee

Package Sidebar

Install

npm i youtube-alert

Weekly Downloads

21

Version

2.0.0

License

GPL-3.0

Unpacked Size

42.3 kB

Total Files

5

Last publish

Collaborators

  • beykant