0.0.4 • Published 8 years ago

websites-hoster v0.0.4

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

Local Webserver

hosts local websites that have been downloaded

Example use

var websites;
var Webserver = require('./index');
var server = new Webserver('./resources/websites', 'localhost', 9900);

server.start(function (error, result) {
    websites = result;
    console.log(JSON.stringify(result, null, 2));
});

Result

{
  "example.com": "http://localhost:9900/example.com/index.html"
}
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago