Taunus plugin for Hapi
npm install taunus-hapi --save
var Hapi = require('hapi');
var taunus = require('taunus');
var taunusHapi = require('taunus-hapi')(taunus);
var pack = new Hapi.Pack();
pack.register({
plugin: taunusHapi,
options: {
// ...
}
});
Note that the options
object is configured as documented by the Taunus API documentation.
MIT