New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twitchlib-helix

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitchlib-helix

A twitch helix library that provides easy use of the helix api

1.0.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Twitchlib Helix npm

A twitch helix library that provides easy use of the helix api

Install

npm install twitchlib-helix

Usage

import { StaticAuthProvider } from "twitchlib-auth";
import { TwitchHelix } from "twitchlib-helix"; 

// Create a TwitchHelix object with a StaticAuthProvider
const authProvider: StaticAuthProvider = new StaticAuthProvider("token");
const helix: TwitchHelix = new TwitchHelix(authProvider);

// Fetches games with the name "Escape from Tarkov"
const games = await helix.Games.GetGames(undefined, ["Escape from Tarkov"]);
console.log(games);

Keywords

twitch

FAQs

Package last updated on 16 Jan 2022

Did you know?

Socket

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.

Install

Related posts