html-fax

0.0.4 • Public • Published

html-raw

Fetch a URL and save a copy of the source to a local file

Install

With yarn:

$ yarn add html-fax

With npm:

$ npm install --save html-fax

Usage

const htmlFax = require('html-fax');

htmlFax('https://npmjs.com', './index.html');

html-fax exposes one function that takes two arguments, a URL and file to write the response to.

URLs can be either http or https.

Readme

Keywords

Package Sidebar

Install

npm i html-fax

Weekly Downloads

6

Version

0.0.4

License

MIT

Last publish

Collaborators

  • ianmcdonald