aniql
A library for interacting with the AniList API.

Installation
% bun i aniql
Usage
aniql
is available via server-side (Bun & Node.js), as well as in browser.
import { AniQLClient } from "aniql";
const client = new AniQLClient({
token: Bun.env.TOKEN,
});
const user = await client.query({
User: {
__args: { name: "warsame" },
id: true,
name: true,
avatar: {
large: true,
medium: true,
},
},
});
console.log(user.User);
Note
This library is not affiliated with AniList, and is not an official AniList library.
For more information, see the AniList API documentation at https://docs.anilist.co/