animob
v1.0.2
Published
Node.js library for streaming anime, reading manga, and accessing anime/manga metadata through multiple providers.
Maintainers
Readme
Installation
npm install animobor
yarn add animobQuick Start
Anime Streaming
import { ANIME } from 'animob';
// Search for anime
const animePahe = new ANIME.AnimePahe();
const results = await animePahe.search('Naruto');
console.log(results);
// Get anime details
const info = await animePahe.fetchAnimeInfo(results.results[0].id);
console.log(info);
// Get episode sources
const sources = await animePahe.fetchEpisodeSources(info.episodes[0].id);
console.log(sources);Manga Reading
import { MANGA } from 'animob';
// Search for manga
const mangadex = new MANGA.MangaDex();
const results = await mangadex.search('One Piece');
console.log(results);
// Get manga details
const info = await mangadex.fetchMangaInfo(results.results[0].id);
console.log(info);
// Get chapter pages
const pages = await mangadex.fetchChapterPages(info.chapters[0].id);
console.log(pages);Anime/Manga Metadata
import { META } from 'animob';
// Search anime/manga database
const anilist = new META.Anilist();
const results = await anilist.search('Demon Slayer');
console.log(results);
// Get detailed information
const info = await anilist.fetchAnimeInfo(results.results[0].id);
console.log(info);Available Providers
Anime
AnimePahe- Anime streaming with multiple quality optionsHianime- High-quality anime streaming (uses anizen.tr mirror)AnimeSaturn- Italian anime provider with global accessAnimeKai- Anime streaming providerKickAssAnime- Anime streaming with various sourcesAnimeUnity- Italian anime streamingAnimeSama- French anime streaming
Manga
MangaDex- Official manga reading platformMangaKakalot- Popular manga providerMangaPill- Manga reading with multiple sourcesMangaReader- Extensive manga libraryComick- Comic and manga providerAsuraScans- Scanlation group providerWeebCentral- Manga aggregatorMangaHere- Manga reading platform
Movies & TV
FlixHQ- Movies and TV showsDramaCool- Asian dramasGoku- Movie streamingSFlix- Movies and series
Metadata
Anilist- Comprehensive anime/manga databaseMAL- MyAnimeList integrationTMDB- The Movie Database
Usage Examples
Get Trending Anime
import { META } from 'animob';
const anilist = new META.Anilist();
const trending = await anilist.fetchTrendingAnime();
console.log(trending);Stream Anime Episode
import { ANIME } from 'animob';
const hianime = new ANIME.Hianime();
// Search
const search = await hianime.search('One Piece');
// Get info
const info = await hianime.fetchAnimeInfo(search.results[0].id);
// Get episode sources
const episode = info.episodes[0];
const sources = await hianime.fetchEpisodeSources(episode.id);
console.log('Stream URL:', sources.sources[0].url);Read Manga Chapter
import { MANGA } from 'animob';
const mangadex = new MANGA.MangaDex();
// Search
const search = await mangadex.search('Solo Leveling');
// Get info
const info = await mangadex.fetchMangaInfo(search.results[0].id);
// Get chapter pages
const chapter = info.chapters[0];
const pages = await mangadex.fetchChapterPages(chapter.id);
console.log('Pages:', pages);Provider Status
Verified Working
- ✅ AnimePahe
- ✅ Hianime (anizen.tr)
- ✅ AnimeSaturn
- ✅ MangaDex
- ✅ Anilist
Other Providers
Other providers are included but may have varying reliability depending on your location and network.
Building from Source
# Clone the repository
git clone https://github.com/dksmadboy/animob.git
cd animob
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm testAPI Reference
Common Methods
All providers implement these base methods:
Anime Providers
search(query: string)- Search for animefetchAnimeInfo(id: string)- Get anime detailsfetchEpisodeSources(episodeId: string)- Get streaming sources
Manga Providers
search(query: string)- Search for mangafetchMangaInfo(id: string)- Get manga detailsfetchChapterPages(chapterId: string)- Get chapter pages
Meta Providers
search(query: string)- Search databasefetchAnimeInfo(id: string)- Get anime informationfetchMangaInfo(id: string)- Get manga information
TypeScript Support
Animob is written in TypeScript and includes type definitions out of the box.
import { ANIME, MANGA, META, IAnimeResult, IMangaResult } from 'animob';
const results: IAnimeResult[] = await new ANIME.AnimePahe().search('Naruto');Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Credits
Built on top of consumet.ts with improvements and verified providers.
Disclaimer
This library is for educational purposes only. Please support official releases and respect copyright laws in your country.
