node package manager


Minimal http framework with the basics.

Install: npm install wayward

app.get(route, callback)

Connect style routing. More info.

app.use(route, middleware)

Connect style middleware. More info.


Port to start app on. More info.

res.send(body, statusCode)

Slack lazy sending of HTTP responses. More info.

res.render(templateName, data)

Templating middleware for embedded javascript templates. More info

req.session[key] = value
var value = req.session[key]

Only available if a secret key has been set. - app.session(opts). More info.


Enables the client-sessions lib with options, opts.secret is required. More info.


Enables EJS templating, opts.dir is required.


Enables static file serving, opts.dir and opts.url are required.

Additional router documentation:
Additional slack documentation:
Additional templating documentation
Additional session documentation:
Additional static files documentation

View the examples

npm test