Xstatic is a static file server handler for bringing up web sites quickly.
Xstatic is a minimal static file server for node.js. Basically, it's to be used when you need to get something simple up and running to serve http content.
If you use npm, then install static via npm. also remember to put it as a dependency in your package.json file.
npm install xstatic
If you don't use npm, you can just grab the static.js and copy it to your project locally.
For use in a simple http server:
var http = require'http';var xstatic = require'xstatic';httpcreateServerxstaticlisten1337;