@ablanc/wakanim

Node.js module to get informations on wakanim.tv website.

Usage no npm install needed!

<script type="module">
  import ablancWakanim from 'https://cdn.skypack.dev/@ablanc/wakanim';
</script>

README

Wakanim scrapper

package build coverage

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