This is a command line utility that downloads pages from the Internet and saves them to your computer. Together with the page, it downloads all assets (images, styles and js) making it possible to open the page without the Internet. The same principle is used to save pages in the browser.
This pet-project was created as part of the Hexlet curriculum.
- Node (v.16+)
git clone https://github.com/DmitriyK/page-loader.git
cd page-loader/
make install
make link
make test
make test-coverage
Usage: page-loader [options] <url>
Downloads a page from the network and puts it in the specified directory
Options:
-V, --version output the version number
-o, --output [dir] output dir (default: "/home/user/current-dir")
-h, --help display help for command