We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the confusing points of using the Router module is using the app variable inside of it. Wouldn't it be nicer to have it like below -
var router=require('router'); router.get('/hello',function(){ print('Hello World!'); });
Also the documentation is not clear on the part where we plug in the router to the pipe (Since we can't plug in router.app).
var router=require('router'); pipe.plug(router);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
One of the confusing points of using the Router module is using the app variable inside of it. Wouldn't it be nicer to have it like below -
Also the documentation is not clear on the part where we plug in the router to the pipe (Since we can't plug in router.app).
The text was updated successfully, but these errors were encountered: