Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability Test Coverage Node CI

Page Loader

About the Project

This is a training project. The utility loads the HTML page and resources.

The capability of the utility:

  1. Specify the local directory for loading the page (by default it will be loaded into the current directory).
  2. Specify the address of the page you want to download. The application will download an html file along with resources (images, styles, scripts), replacing the links with local ones.

Getting started

  • Clone the repository
git clone https://github.com/EuRV/fullstack-javascript-project-4
  • Install dependencies
cd fullstack-javascript-project-4
make install
  • Install project
make link

Usage

[...@fedora fullstack-javascript-project-4]$ page-loader -h
Usage: page-loader [options] <link>

Downloads the page from the web and puts it in the specified directory

Options:
  -V, --version        output the version number
  -o, --output [path]  output path (default: "/...")
  -h, --help           display help for command
page-loader -o page-loader https://page-loader.hexlet.repl.co

or (the current directory will be selected)

page-loader https://page-loader.hexlet.repl.co

Example

asciicast

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages