UNPKG

hexagonjs

Version:

Simplistic high-configurable Node-JS application framework

8 lines (6 loc) 208 B
var express = require('express'); var path = require('path'); module.exports = function(http, $paths){ http.use(require('stylus').middleware($paths.public())); http.use(express.static($paths.public())); }