express-dox
v0.1.0
Published
A beautiful and simple express API documentation
Downloads
1
Maintainers
Readme
express-dox
A beautiful and simple express API documentation
Install
$ npm install express-dox
Usage
var expressDox = require('express-dox');
// Use with express app, a single router or an array of routers
var source = app || router || [router1, router2];
// Register your own API documentation route
app.get('/api-doc', function(req, res) {
expressDox(source, { title: 'Express API Documentation' }, function(doc) {
res.status(200).send(doc);
});
});