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

kequtwitch

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kequtwitch

This is a node library for interfacing with twitch

  • 0.7.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Home

This library is agnostic to the information is receives from Twitch, it delivers you all data in a simple format without any frills. It requires a small amount of effort to produce the behaviour you want compared to similar libraries but it is ultimately still pretty easy honestly.

Installation

This library is available on NPM. Make sure you have Node installed and create a new project, then install the kequtwitch module.

npm install --save kequtwitch

Usage

In your project require kequtwitch at the top.

const Twitch = require('kequtwitch');

Create an instance of kequtwitch passing a valid OAuth token as the first parameter.

const twitch = new Twitch('your-oauth-token');

You are now set up to use the library! If you are on the website please view the sidebar on the right or use Github for further documentation.

Quick start

The easiest way to see the library working is to login to a chatroom. A streamer's channel is their username prepended with # in lowercase.

const Twitch = require('kequtwitch');
const twitch = new Twitch('your-oauth-token');

(async function init () {
    await twitch.chat.connect();
    await twitch.chat.join('#channel');
})();

Chat activity will appear in your console.

Keywords

FAQs

Package last updated on 22 Jul 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc