# twitch-auth

> Authenticate with Twitch and stop caring about refreshing tokens.

Latest version **4.6.7** (published 2021-09-05) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install twitch-auth
pnpm add twitch-auth
yarn add twitch-auth
bun add twitch-auth
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 4.6.7 |
| Published | 2021-09-05 |
| First published | 2018-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 85.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 753 |
| Author | Daniel Fischer |
| Maintainers | d-fischer, laddspencer |
| Keywords | twitch, auth, authentication, oauth, stream, bot |

## Links

- npm: https://www.npmjs.com/package/twitch-auth
- Repository: https://github.com/d-fischer/twitch
- Homepage: https://d-fischer.github.io/twitch-auth
- Issues: https://github.com/d-fischer/twitch/issues
- Funding: https://github.com/sponsors/d-fischer
- npm.io page: https://npm.io/package/twitch-auth

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) ^2.0.3
- [twitch-common](https://npm.io/package/twitch-common.md) ^4.6.7
- [twitch-api-call](https://npm.io/package/twitch-api-call.md) ^4.6.7
- [@d-fischer/logger](https://npm.io/package/@d-fischer/logger.md) ^3.1.0
- [@d-fischer/deprecate](https://npm.io/package/@d-fischer/deprecate.md) ^2.0.2
- [@d-fischer/shared-utils](https://npm.io/package/@d-fischer/shared-utils.md) ^3.0.1

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 4.6.7 (latest) — 2021-09-05
- 4.6.0-pre.5 (next) — 2021-06-21
- 4.6.6 — 2021-08-26
- 4.6.5 — 2021-08-02
- 4.6.4 — 2021-07-21
- 4.6.3 — 2021-07-19
- 4.6.2 — 2021-07-16
- 4.6.1 — 2021-07-12
- 4.6.0 — 2021-06-24
- 4.6.0-pre.4 — 2021-06-17
- 4.6.0-pre.3 — 2021-06-13
- 4.6.0-pre.2 — 2021-06-12
- 4.6.0-pre.1 — 2021-06-04
- 4.6.0-pre.0 — 2021-05-30
- 4.5.5 — 2021-04-08
- … 64 more at https://npm.io/package/twitch-auth/versions

## README

# Twitch.js - Authentication

Authenticate with Twitch and stop caring about refreshing tokens.

## Installation

	yarn add twitch-auth

or using npm:

	npm install twitch-auth

## Documentation

A good place to start with this library is the [documentation](https://d-fischer.github.io/twitch-auth)
which also includes a complete reference of all classes and interfaces, as well as changes and deprecations between major versions.

## If you're getting stuck...

You can join the [Discord server](https://discord.gg/b9ZqMfz) for support.

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