@scrape-it-all/core
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

core

Core module that initiate puppeteer and expose the Browser instance so packages can use it to actually scrape stuff. Also, it provides some common functions that might be used among packages.

Usage

import core, { CoreArgs } from '@scrape-it-all/core';

const scrape = async ({ browser, metadata }: CoreArgs): Promise<ScrapeResult> => {
  ...
}

export default {
  scrape: core.wrapper(scrape),
};

/@scrape-it-all/core/

    Package Sidebar

    Install

    npm i @scrape-it-all/core

    Weekly Downloads

    9

    Version

    0.2.2

    License

    MIT

    Unpacked Size

    5.07 kB

    Total Files

    15

    Last publish

    Collaborators

    • zfael