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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i html-fax

      Weekly Downloads

      0

      Version

      0.0.4

      License

      MIT

      Last publish

      Collaborators

      • ianmcdonald