faq
faq middleware for express
Install
$ npm install faq
API
var faq =
faq(options)
Using this middleware to handle load balance server's faq monitor.
Options
Faq accepts these properties in the options object.
uri
Provide faq URI. Default URI is /faq
.
body
Provide faq response object. Default response is ok
.
Examples
Simple example
Basic example of adding this middleware.
var app = ;var faq = ; app;
Custom URI and Response
var app = ;var faq = ; var body = content: "hello faq" var faqOption = uri: "/new-faq" body: body app;
License
[MIT]