Wondering what’s next for npm?Check out our public roadmap! »

@scrape-it-all/coreTypeScript 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),
};

Install

npm i @scrape-it-all/core

DownloadsWeekly Downloads

2

Version

0.2.2

License

MIT

Unpacked Size

5.07 kB

Total Files

15

Last publish

Collaborators

  • avatar