This tool helps you to load web-pages and local assets and then keep them locally on your machine, no matter how many assets is it contains of.
- Mac / Linux
This tool has not been published to NPM, so an installation must be implemented by cloning this repo on you PC. To install utility enter the following command:
git clone git@github.com:Saimon398/page-loader.git
Addition of new feature demands from developer testing of the ones. There is special doc which is called Makefile
which helps you to make long commands shorter. Explore that file to see what commands can be launched. In order to run test enter the following command:
make test
To see if your added feature meets the default standard (Airbnb) enter the following command:
make lint
Utility description and its possibilities can be displayed after the following command:
page-loader --help
Yield the following help output:
Usage: page-loader [options] <url>
Page loader utility
Options:
-V, --version output the version number
-o --output output dir (default: "/home/user/current-dir"
-h, --help display help for command
Start page loading can be launched by following command.
page-loader --output <path/to/dir> <url>
Loaded pages will be placed in the directory the path to which is given after --output
option.
Here you may see how this utility works: