PAGE DOWNLOADER

The third project in scope of "Backend JS Programmer (Node.js)" course on Hexlet

Maintainability Test Coverage Build Status

Command-line tool to download a webpage along with style, pictures, JavaScript and other assets.
Links to such assets are replaced automatically to point to resources saved as local files on paths relative to *.html location.

Prerequisites:

  • Node.js

Run (also possible without installation)

npx pageloader-dan-hexlet [options] <url>

Installation

npm i -D pageloader-dan-hexlet

Usage:

page-downloader [options] <url>

Options:

  -V, --version       output the version number
  -o, --output [dir]  output directory
  -h, --help          output usage information