# twitchlib-helix

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

Latest version **1.0.1** (published 2022-01-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install twitchlib-helix
pnpm add twitchlib-helix
yarn add twitchlib-helix
bun add twitchlib-helix
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-01-16 |
| First published | 2021-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 36.1 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Dylan Zemlin |
| Maintainers | dylansmr |
| Keywords | twitch, bot, helix, api |

## Links

- npm: https://www.npmjs.com/package/twitchlib-helix
- Repository: https://github.com/dylanzemlin/twitchlib-helix
- Homepage: https://github.com/dylanzemlin/twitchlib-helix#readme
- Issues: https://github.com/dylanzemlin/twitchlib-helix/issues
- npm.io page: https://npm.io/package/twitchlib-helix

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.24.0
- [twitchlib-auth](https://npm.io/package/twitchlib-auth.md) ^1.2.4

## Recent versions

- 1.0.1 (latest) — 2022-01-16
- 1.0.0 — 2021-12-28

## README

# Twitchlib Helix ![npm](https://img.shields.io/npm/v/twitchlib-helix)

A twitch helix library that provides easy use of the helix api

## Install

```
npm install twitchlib-helix
```

## Usage

```typescript
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);
```

---
_Source: https://npm.io/package/twitchlib-helix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
