Socket
Socket
Sign inDemoInstall

twitchonlinetracker

Package Overview
Dependencies
6
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

6

lib/package.json
{
"name": "twitchonlinetracker",
"version": "1.1.1",
"version": "1.1.2",
"description": "A library to help track streamers and fires an event if they go online.",

@@ -26,3 +26,4 @@ "main": "lib/",

"dependencies": {
"axios": "^0.18.0"
"axios": "^0.18.0",
"dotenv": "^6.2.0"
},

@@ -34,3 +35,2 @@ "devDependencies": {

"chai": "^4.2.0",
"dotenv": "^6.2.0",
"mocha": "^5.2.0",

@@ -37,0 +37,0 @@ "ts-node": "^7.0.1",

{
"name": "twitchonlinetracker",
"version": "1.1.1",
"version": "1.1.2",
"description": "A library to help track streamers and fires an event if they go online.",

@@ -26,3 +26,4 @@ "main": "lib/",

"dependencies": {
"axios": "^0.18.0"
"axios": "^0.18.0",
"dotenv": "^6.2.0"
},

@@ -34,3 +35,2 @@ "devDependencies": {

"chai": "^4.2.0",
"dotenv": "^6.2.0",
"mocha": "^5.2.0",

@@ -37,0 +37,0 @@ "ts-node": "^7.0.1",

@@ -69,2 +69,13 @@ # Track when Twitch streams go online

### tracker.on('offline', function (channelName: string) { })
When a stream is found to have gone offline, fires this event. The callback function provides a string.
Example:
```javascript
tracker.on('offline', function (channel) {
console.log(`${channel} has gone offline.`)
})
```
### tracker.on('error', function (error) { })

@@ -71,0 +82,0 @@

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