@livecord/notify
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "@livecord/notify", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Notifier for YouTube and Twitch.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -20,3 +20,8 @@ # [@livecord/notify](https://npmjs.com/package/@livecord/notify) | ||
```js | ||
// ESM | ||
//import { Twitch } from '@livecord/notify'; | ||
// CJS | ||
const { Twitch } = require("@livecord/notify"); | ||
const twitch = new Twitch({ | ||
@@ -31,3 +36,2 @@ client: { | ||
twitch.on("ready", (ready) => { | ||
twitch.follow([ "clqu_" ]); | ||
@@ -50,2 +54,6 @@ twitch.unfollow([ "clqu_" ]); | ||
```js | ||
// ESM | ||
//import { Twitch } from '@livecord/notify'; | ||
// CJS | ||
const { Twitch } = require("@livecord/notify"); | ||
@@ -82,3 +90,8 @@ | ||
```js | ||
// ESM | ||
//import { YouTube } from '@livecord/notify'; | ||
// CJS | ||
const { YouTube } = require("@livecord/notify"); | ||
const youtube = new YouTube({ | ||
@@ -85,0 +98,0 @@ interval: 60000, // check channels every 1000ms (1 second) (optional) (default: 60000 [60 seconds])]) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24329
124
0