1.0.5 • Published 9 years ago
wgetpage v1.0.5
wgetpage
Download an HTML document with all dependencies (css, js, image, html)
CLI
Install:
npm install -g wgetpage
Use:
Usage: wgetpage <url>
Example:
wgetpage http://example.com
API
npm install --save wgetpage
Use:
var wget = require('wgetpage');
wget(url, dest, done);
Example:
var wget = require('wgetpage');
const URL = 'http://example.com';
const DEST = '/tmp/output';
wget(URL, DEST, function() {
console.log('done');
});
License
This library is licensed under the MIT license.