Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

youtube-notification-module

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

youtube-notification-module

YouTube Notification Module

    1.1.0latest
    GitHub

Version published
Maintainers
1
Weekly downloads
4
decreased by-50%

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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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