Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

foofaev/hexlet-nodejs-project-lvl3

Repository files navigation

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

About

cli utility to download page with resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published