I recommend create in your project instance.ts with following code:
instance.ts
import { Anilibria } from "aniapi"; export const anilibria = new Anilibria();
Next, import this instance into the files where the Anilibria API is used and use the methods.
Last updated 1 year ago