0.0.4 • Published 8 years ago

html-fax v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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.