Arctic

AniList

For usage, see OAuth 2.0 provider.

import { AniList } from "arctic";

const anilist = new AniList(clientId, clientSecret, redirectURI);
const url: URL = await anilist.createAuthorizationURL(state);
const tokens: AniListTokens = await anilist.validateAuthorizationCode(code);