UNPKG

that

Version:

Advanced Node.js framework featuring Evented Evolution Engine, Seamless State Sharing, and Plugin-optimized Operation

13 lines (10 loc) 240 B
var that = require('that') , buffet that.on('init', function (conf, done) { var opts = conf.static || {} , buffet = require('buffet')(opts.root, opts); that.middleware .first(buffet) .last(buffet.notFound) done(); });