Tool for downloading web page to your computer with other files(js, images, css e.t.c) download page as doing this the browser.
- nodejs lts version >= 14
- npm
- make
make install
or
npm install
CLI Tool has two arguments url (address of the web page which will be downloaded) and output (the path where will be saved page)
pageUrl
- address of the page,outputDir
- path for save the web page (default: current working directory),render
- module for displaying the status of the downloading each resource(not optional cli-version use module Listr)
import downloadPage from 'page-loader';
downloadPage(pageUrl, outputDir, render).then(filepath => )