sexy static content server for express.
npm install express-sexy-static
var expressSexyStatic = require('express-sexy-static'); app.use(new expressSexyStatic(__dirname + '/public'));
SexyStatic is a combinition of
connect.static and more within a simple middleware. Just use it with:
app.use(expressSexyStatic(__dirname + '/public'));
SexyStatic is not just a static file server. It can also view documents in a friendly way.
All supported friendly views:
A few crafted sexy themes are shiped with SexyStatic. Try them and pick one.
View all themes at http://sexystatic.micy.in/#themes.
You can also define custom template for SexyStatic! To use your custom template: