# dank-twitch-api

> A library for interfacing with the twitch api

Latest version **0.0.1** (published 2020-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install dank-twitch-api
pnpm add dank-twitch-api
yarn add dank-twitch-api
bun add dank-twitch-api
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-10-26 |
| First published | 2020-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 32.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | johnpyp |
| Maintainers | johnpyp |
| Keywords | config |

## Links

- npm: https://www.npmjs.com/package/dank-twitch-api
- Repository: https://github.com/johnpyp/dank-twitch-api
- Issues: https://github.com/johnpyp/dank-twitch-api/issues
- npm.io page: https://npm.io/package/dank-twitch-api

## Dependencies (4)

- [got](https://npm.io/package/got.md) 11.8.0
- [is-what](https://npm.io/package/is-what.md) 3.11.2
- [node-cache](https://npm.io/package/node-cache.md) 5.1.2
- [case-anything](https://npm.io/package/case-anything.md) 1.1.2

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-10-26
- 0.4.0 — 2020-10-26
- 0.3.5 — 2020-10-26

## README

# Dank-Twitch-Api

A library for using the twitch helix api

example:

```ts
import Client from "dank-twitch-api";

const main = async (): Promise<void> => {
  const client = new Client({
    clientId: "my-client-id",
    clientSecret: "my-client-secret",
  });
  try {
    const user = await client.getUser("destiny");
    console.log(user);
    const followers = await user.getFollowers(200);
    console.log(followers);
  } catch (error) {
    console.log("Error", error, error?.response?.body);
  }
};

main();
```

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