UNPKG

require-hapiroutes

Version:

Module to help organize and manage Hapi route definitions

12 lines (11 loc) 248 B
module.exports = { method : 'GET', path : '/route', handler : function(req, reply) {}, config : { description: 'my route description', notes: 'Important stuff to know about this route', tags : ['app'] } };