Socket
Book a DemoInstallSign in
Socket

@skyra/twitch-helpers

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skyra/twitch-helpers

Very basic Twitch helper functions used across several ArchId bots

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
245
107.63%
Maintainers
2
Weekly downloads
 
Created
Source

@skyra/twitch-helpers

Very basic Twitch helper functions for several ArchId bots to ensure we do not duplicate code.

Features

  • Powered by the @skyra/safe-fetch package

Usage

First of all, you should make sure to define the following environment variables for your process:

  • TWITCH_CLIENT_ID: The Client ID of your Twitch application (generated at Twitch Dev Console)
  • TWITCH_CLIENT_SECRET: The Client Secret from your Twitch application (generated at Twitch Dev Console)
  • TWITCH_EVENT_SUB_CALLBACK: A public HTTP callback URL that can be used for the Twitch EventSub
  • TWITCH_EVENT_SUB_SECRET: A unique secret key that is sent to the EventSub system and returned by Twitch then used to validate whether a request is from Twitch or not.

After this, you can use the functions exported from this package to interact with the Twitch API.

Keywords

discord

FAQs

Package last updated on 22 May 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.