var static=require("../lib/node-static"),file=new static.Server(".",{cache:7200,headers:{"X-Hello":"World!"}});require("http").createServer(function(e,r){file.serve(e,r,function(s,t){if(s){console.error("> Error serving "+e.url+" - "+s.message);r.writeHead(s.status,s.headers);r.end()}else console.log("> "+e.url+" - "+t.message)})}).listen(8080);console.log("> node-static is listening on http://127.0.0.1:8080");