A webpage downloading command line utility.
Use the package manager npm to install page loader.
npm i hexlet-page-loader -g
page-loader -h
Usage: page-loader [options] <path> <url>
A page loading command line utility
Options:
-V, --version output the version number
--output dowload http page and save it to the requested path
-h, --help output usage information
$ page-loader --output /var/tmp https://hexlet.io/courses
$ open /var/tmp/hexlet-io-courses.html
It is possible to run page loader in debug mode.
$ DEBUG=page-loader page-loader --output /var/tmp https://hexlet.io/courses