mailist
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

MaiList

An Unofficial Anilist API Wrapper And Strongly Typed

Installing

Version

#npm
npm install mailist

#yarn
yarn add mailist

Example Usage

Anime

Methods
  • anime(query: string)
  • Mal(id: string)
  • voiceActors(query: string)
const { Anime } = require("mailist");
const get = new Anime();

function getAnime() {
    get.anime("Majo No Tabi-Tabi")
        .then(res => {
            console.log(res)
        });
}
getAnime()
  • Getting voice actors from anime title
function voiceActors() {
    get.voiceActors("Aho Girl")
        .then(res => {
            console.log(res)
        });
}
voiceActors()

Manga

Methods
  • manga(query: string)
  • Mal(id: string)
const { Manga } = require("mailist");
const get = new Manga();

function getManga() {
    get.manga("Quintessential Quintuplets")
        .then(res => {
            console.log(res)
        })
}
getManga()

Character

Methods
  • character(query: string)
const { Character } = require("mailist");
const get = new Character();

function getChar() {
    get.character("Elaina")
        .then(res => {
            console.log(res)
        })
}
getChar()

Nb

Actually i don't know how to write the docs, but i hope you understand, and if you have any questions, you can join my Discord Server

© Aizuu

Package Sidebar

Install

npm i mailist

Weekly Downloads

918

Version

1.0.3

License

MIT

Unpacked Size

31.2 kB

Total Files

17

Last publish

Collaborators

  • izuu4302