brasid-page-loader
student's project - simple js tool to download pages to local machine
Last updated 4 months ago by brasid .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install brasid-page-loader 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.5.2                                ...           latest (4 months ago)

11 Versions

  • 0.5.2                                ...           4 months ago
  • 0.5.1                                ...           4 months ago
  • 0.5.0                                ...           4 months ago
  • 0.3.0                                ...           4 months ago
  • 0.2.1                                ...           4 months ago
  • 0.1.3                                ...           4 months ago
  • 0.1.2                                ...           4 months ago
  • 0.1.1                                ...           4 months ago
  • 0.1.0                                ...           4 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (15)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |