Node.js module to scrap content of wakanim.tv.
# with yarn
yarn add @ablanc/wakanim
# or with npm
npm install @ablanc/wakanim
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 are run using Jest framework.
$ yarn test