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

1.0.4 • Public • Published

animewizard

A Node.js interface for downloading anime.

animixplay.to

Usage

const { AnimixPlay } = require("animewizard");

const animixPlay = new AnimixPlay();
(async () => {
    // search for animes
    let animes = await animixPlay.search("Jujutsu Kaisen");

    // get episodes of anime
    let anime = await animixPlay.resolve(animes[0]);
    console.log(anime.episodes);

    // download first episode
    let stream = await animixPlay.download(anime.episodes[0]);
    const fs = require("fs");
    stream.pipe(fs.createWriteStream(anime.episodes[0].name + ".mp4"));
})();

Dependents (0)

Package Sidebar

Install

npm i animewizard

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

18.3 kB

Total Files

21

Last publish

Collaborators

  • jambdev