Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Suppose to have this in my library.js
router.get('/user/', controllers.red);
Now I need to specify in the url of router any value that can represent username of user like: /user/something that represent character
Do this
router.get('/user/:username', controllers.red); controllers.red = function(req, res, next) { console.log(req.params.username); }