Miss any of our Open RFC calls?Watch the recordings here! »

anime-themes

4.0.1 • Public • Published

anime-themes

GitHub npm GitHub Action (Tests) GitHub Action (Lint)

ko-fi

A library used for interacting around Themes.moe. This is an unofficial wrapper library and is not affiliated with the said website.

This uses node-fetch for making requests.

Installation

> npm install anime-themes

Contributing

Fork this repository and run npm install to install dependencies and development dependencies.

Run tests with npm run test before making any pull requests.

Documentation

Basic Usage

Requiring

Common JS

const themes = require("anime-themes");

ES6

import AnimeThemes from "anime-themes";

Getting an anime by title

themes.search("Azur Lane")
    .then((anime) => {
        console.log(anime.themes[0].title); // graphite/diamond
    });

Getting an anime by MyAnimeList ID

themes.search(36633)
    .then((anime) => {
        console.log(anime.title); // Date A Live III
    });

Install

npm i anime-themes

DownloadsWeekly Downloads

6

Version

4.0.1

License

MIT

Unpacked Size

56.3 kB

Total Files

34

Last publish

Collaborators

  • avatar