JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q60238F
  • License MIT

A web scraping tool that extracts any data from the web.

Package Exports

  • @0y0/scraper

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@0y0/scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@0y0/scraper · GitHub license npm

@0y0/scraper is a web scraping tool that extracts any data from the web.

Installation

npm install --save @0y0/scraper

Usage

const runScraper = require('@0y0/scraper')

runScraper(
  // (object|array) Scraper options
  {
    // (string?) Cron time expression
    cronTime,
    // (bool?) Run cron after initialization
    // (Default: false)
    runCronOnInit,
    // (object) Input options
    in: {
      // (string) Input plugin name
      type,
      ...inputPluginOptions
    },
    // (object) Output options
    out: {
      // (string) Whether to skip the output
      skip,
      // (string) Output plugin name
      type,
      ...outputPluginOptions
    }
  }
)

License

MIT