quickjson

2.0.0 • Public • Published

Scraper

Turns an HTML page to a JSON

How it works

Depth first search the enite HTML page and saves only the valid HTML elements.

Requirements

  • nodejs
  • request
  • request-promise
  • node-html-parser

Usage

Initialize the module:

const scraper = require('scraper');

Use the toJSON method passing a valid URL:

const json = scraper.toJSON('your url here')

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i quickjson

    Weekly Downloads

    2

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    1.78 kB

    Total Files

    3

    Last publish

    Collaborators

    • datteroandrea