@otolabs/scraper
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-beta-1 • Public • Published

Scraper - Typescript/JavaScript web content scraper.

Features

  1. Temporary caching.
  2. Fully Typed.
  3. Easy acces to Jikan Api.
  4. Soon more Websites.

Installation

With npm:

npm install @otolabs/scraper

You can import using:

import { jikan, JikanResponse, Anime } from "@otolabs/scraper";

let client = new jikan.AnimeClient();
client
    .getAnimeSearch({ q: "Charloote", type: "TV", limit: 1 })
    .then((animes: JikanResponse<Anime[]>) => {
        console.log(animes);
    })
    .catch((err) => {
        console.error(err);
    });

Package Sidebar

Install

npm i @otolabs/scraper

Weekly Downloads

1

Version

0.0.1-beta-1

License

Apache-2.0

Unpacked Size

51 kB

Total Files

80

Last publish

Collaborators

  • otosaka-ofc