brasid-page-loader
v0.5.2
Published
student's project - simple js tool to download pages to local machine
Downloads
12
Maintainers
Readme
page-loader.js
This is a student's project provided by hexlet. The main purpose of the project is to learn most common ways of work with asynchronous code. This is a simple utility let you download page using provided url. It work's in similar way with browser page loaders.
Project mentor - @Kirill Mokevnin.
Installation
npm install -g brasid-page-loader
Usage
The utility can download page to provided filepath.
page-loader -h
Usage: page-loader [options] <address>
Downloads page to your local machine with provided path
Options:
-V, --version output the version number
-o, --output [type] Output path (default: current working directory)
-h, --help output usage information
Download page with resources from address
page-loader http://site.org
Debugging
To look at the pretty debug log just type:
DEBUG='page-loader*' page-loader http://site.org