upstage

0.0.4 • Public • Published

Upstage

Utility to crawl an entry URL and produce a static copy of the site.

Install

npm install upstage

Example

The example below will crawl google.com and save each html file and all of the assets that are associated with the host.

var upstage = require('upstage');

var GOOGLE = upstage.create({
    entryurl: 'http://google.com',
    name: 'google',
    stageroot: './'
  }, function (err,site) {
    if (err) {
      console.log("ERROR creating upstage site");
      console.log(err);
      return false;
    }   

    site.start(function (err,data) {
        console.log("CALLBACK");
      }); 

  }); 

Comments

It's slow.

Readme

Keywords

none

Package Sidebar

Install

npm i upstage

Weekly Downloads

0

Version

0.0.4

License

BSD

Last publish

Collaborators

  • jaw187