A node.js module that provides REST observer functionality to express.js applications.
npm install git://github.com/vstirbu/express-rest-observer.git
var app = require('express')(),
observer = require('express-rest-observer')(options);
// install the observer application
app.use(observer);
// use the middleware per route
app.get('/test', observer.middleware, requestHandler);
The observer accepts a the following initialization options:
path
The observer path (default/observers
)
The code is available under MIT license.