Easily add status code and headers to a response in Hapi
npm install hapi-status


npm install hapi-status --save
`Usage
`
var status = require('hapi-status');// ...
server.route({
method: 'GET',
path: '/'
handler: function(request, reply) {
var result = 'whatever you want to give back to the client';
return status.ok(reply, result);
}
});
// ...
``