Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
simple-twitch-info
Advanced tools
This package is for getting the current livestream information of the twitch streamer or getting the information of the user.
Readme
#Information This package is for getting the current livestream information of the twitch streamer or getting the information of the user.
No reqiures API KEY ;) #Sample Getting stream
const simpleTwitch = require("simple-twitch-info");
simpleTwitch.getStream("cFyt").then(console.log).catch(console.error);
Output
{
success: true,
error: null,
live: true,
name: 'Eray - Twitch',
title: 'erkenci',
embedURL: 'https://player.twitch.tv/?channel=eray&player=facebook&autoplay=true&parent=meta.tag',
thumbnails: [
'https://static-cdn.jtvnw.net/previews-ttv/live_user_eray-80x45.jpg',
'https://static-cdn.jtvnw.net/previews-ttv/live_user_eray-320x180.jpg',
'https://static-cdn.jtvnw.net/previews-ttv/live_user_eray-640x360.jpg'
],
upload: 2022-08-04T13:01:26.000Z,
start: 2022-08-04T13:01:26.000Z,
_end: 2022-08-04T17:01:26.000Z,
_isLiveBroadcast: true
}
Getting user
const simpleTwitch = require("simple-twitch-info");
simpleTwitch.getUser("cFyt").then(console.log).catch(console.error);
Output
{
username: 'cfyt',
displayName: 'cFyt',
description: 'https://cFyt.me - mail@cFyt.me',
url: 'https://www.twitch.tv/cfyt',
image: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2aac32a9-40c1-42cc-8ce0-a94aa744760f-profile_image-300x300.png',
player: 'https://player.twitch.tv/?channel=cfyt&player=facebook&autoplay=true&parent=meta.tag'
}
FAQs
This package is for getting the current livestream information of the twitch streamer or getting the information of the user.
The npm package simple-twitch-info receives a total of 4 weekly downloads. As such, simple-twitch-info popularity was classified as not popular.
We found that simple-twitch-info demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.