Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
npm install consumet.custom
consumet.ts is a Node library which provides high-level APIs to get information about several entertainment mediums like books, movies, comics, anime, manga, etc.
- Quick Start
- Installation
- Usage
- Documentation
- Ecosystem
- Provider Request
- Contributing
- Support
- Contributors ✨
- Credits
- License
To use consumet.ts in your project, run:
``bash`
yarn add @consumet/extensionsor "npm i @consumet/extensions"
Example - searching for a book using the libgen provider.
`ts
import { BOOKS } from "@consumet/extensions"
// 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)
})
`
Example - searching for anime using the gogoanime provider.
`ts
import { ANIME } from "@consumet/extensions"
// 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.
