Socket
Socket
Sign inDemoInstall

youtube-notification-module

Package Overview
Dependencies
10
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-notification-module

YouTube Notification Module


Version published
Maintainers
1
Weekly downloads
2
decreased by-77.78%

Weekly downloads

Readme

Source

youtube-notifier

Sends notifications when added channels upload videos. Gets information via YouTube feeds.

Usage

const ytnotifier = require('youtube-notifier');
const Notifier = new ytnotifier({
    channels: ['A channel ID', 'Another channel ID'],
    checkInterval: 50 /* Interval to check the latest video. */
});

Notifier.on('video', video => {
    console.log(video);
    /*
    video = {
        channelName,
        title,
        publishDate,
        url,
        id
    };
    */
});

Methods

Notifier.addChannels()

ParameterTypeReturns
channelsarrayPromise

Notifier.removeChannels()

ParameterTypeReturns
channelsarrayPromise

FAQs

Last updated on 21 Aug 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc