html-fax
v0.0.4
Published
Fetch a URL and save a copy of the source to a local file
Downloads
7
Readme
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
.