colored-routes-logger
v1.0.1
Published
Logs routes in a Sails.js routes object with color formatting
Downloads
3
Readme
colored-routes-logger
Logs routes in a Sails.js routes object with color formatting
coloredRoutesLogger = require('colored-routes-logger')
routes = {
'GET /posts': 'PostController.index'
'GET /posts/:id': 'PostController.show'
}
coloredRoutesLogger(routes);
module.exports.routes = routes