@galaxywolfv/devanime
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

DevAnime library

DevAnime library is a Node library which provides high-level APIs to get information about several entertainment mediums like books, movies, comics, anime, manga, etc.

Table of Contents

Quick Start

Installation

To use DevAnime library in your project, run:

yarn add @galaxywolfv/devanime
# or "npm i @galaxywolfv/devanime"

Usage

Example - searching for a book using the libgen provider.

import { BOOKS } from "@galaxywolfv/devanime"

// Create a new instance of the Libgen provider
const books = new BOOKS.Libgen();
// Search for a book. In this case, "Pride and Prejudice"
const data = books.search('pride and prejudice').then(data => {
  // print results
  console.log(data)
})

Exmaple - searching for anime using the gogoanime provider.

import { ANIME } from "@galaxywolfv/devanime"

// Create a new instance of the Gogoanime provider
const gogoanime = new ANIME.Gogoanime();
// Search for an anime. In this case, "One Piece"
const results = gogoanime.search("One Piece").then(data => {
  // print results
  console.log(data);
})

Do you want to know more? Head to the Getting Started.

Documentation

License

Licensed under MIT.

Package Sidebar

Install

npm i @galaxywolfv/devanime

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

961 kB

Total Files

222

Last publish

Collaborators

  • galaxywolfv