@ablanc/adn
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Adn module wrapper

package build coverage


Description

Node.js module wrapper to access adn api (animedigitalnetwork.fr).

Installation

# with yarn
yarn add @ablanc/adn

# or with npm
npm install @ablanc/adn

Examples

const adn = require("@ablanc/adn");
// import adn from "@ablanc/adn"; // Typescript

const mondayEpisodes = await adn.getCalendarDay("2019-11-04");
const catalog = await adn.getCatalog({ offset: 0, limit: 50 });
const episodes = await adn.getEpisodes({ showId: 355 });
const infos = await adn.getInfos("bleach");

Tests

Tests are run using Jest framework.

# with yarn
yarn test

# or with npm
npm run test

/@ablanc/adn/

    Package Sidebar

    Install

    npm i @ablanc/adn

    Weekly Downloads

    13

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    25.4 kB

    Total Files

    22

    Last publish

    Collaborators

    • ablanc