# auto-yt-notifier

> Gives you the information optimial for discord use.

Latest version **1.4.2** (published 2021-02-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install auto-yt-notifier
pnpm add auto-yt-notifier
yarn add auto-yt-notifier
bun add auto-yt-notifier
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2021-02-14 |
| First published | 2021-02-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | .nero |
| Maintainers | neronii |
| Keywords | yt, auto, youtube, discord |

## Links

- npm: https://www.npmjs.com/package/auto-yt-notifier
- npm.io page: https://npm.io/package/auto-yt-notifier

## Dependencies (2)

- [rss-parser](https://npm.io/package/rss-parser.md) ^3.11.0
- [node-localstorage](https://npm.io/package/node-localstorage.md) ^2.1.6

## Recent versions

- 1.4.2 (latest) — 2021-02-14

## README

# Auto Youtube Notifier
This package is used to get new videos from your selected youtuber. This package only allows one channel at a time.

Credits to [daydreamercodes](https://github.com/daydreamercodes) for the repo and most of the code. I've only made it so its easier to use by only allowing one id, which also puts less stress on the youtube API, and for the data to return simply.

All the information returned is optimised for Discord use.

```js

const YTNotifier = require('auto-yt-notifier'), Notif = new YTNotifier({ channel: '', check_time: 60 });

Notif.on('video', (video) => {
  console.log(video);

  video:
  {
    channelName: 'deox',
    url: 'https://www.youtube.com/watch?v=Fb07KmS94c4',
    id: 'Fb07KmS94c4'
  }
});

// The ID is so it doesn't send the same video again.
```

---
_Source: https://npm.io/package/auto-yt-notifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
