brasid-page-loader

0.5.2 • Public • Published

page-loader.js

Maintainability Test Coverage Build Status

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

asciicast

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

asciicast

Debugging

To look at the pretty debug log just type:

DEBUG='page-loader*' page-loader http://site.org

asciicast

User-friendly errors

asciicast

Task-list output

asciicast

Package Sidebar

Install

npm i brasid-page-loader

Weekly Downloads

6

Version

0.5.2

License

MIT

Unpacked Size

42.5 kB

Total Files

7

Last publish

Collaborators

  • brasid