@ablanc/wakanim
v2.3.0
Published
Node.js module to get informations on wakanim.tv website.
Downloads
45
Maintainers
Readme
Wakanim scrapper
Description
Node.js module to scrap content of wakanim.tv.
Installation
# with yarn
yarn add @ablanc/wakanim
# or with npm
npm install @ablanc/wakanim
Examples
const wakanim = require("@ablanc/wakanim");
const catalog = await wakanim.getCatalog();
const infos = await wakanim.getAnimeInfos(catalog[0].link);
// 2 weeks interval at most.
const calendar = await getCalendar({
startDate: "11-11-2019",
endDate: "17-11-2019",
free: true // optional, defaults to false
});
Tests
Tests are run using Jest framework.
$ yarn test