After installing with your preferred package manager, initialise using new TwitchClient (or whatever you import it as).
import TwitchClient from "@Mub1532/twitch-api-graphql";
const client = new TwitchClient(<clientID>: optional);
Documentation can be found at https://mub1532.github.io/twitch-api-graphql/classes/default.html
Docs made using the TypeDoc package