@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),
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    0
    • latest
  • 0.2.0
    0
    • core

Version History

Package Sidebar

Install

npm i @scrape-it-all/core

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

5.07 kB

Total Files

15

Last publish

Collaborators

  • zfael