Top "Koa-router" questions

Router middleware for koa.

Koa router: How to get query string params?

I'm using koa-router. How can I get the request's query string params? This is the best I managed to write: …

javascript node.js query-string koa koa-router
How can I split my koa routes into separate files?

I'm trying to figure out how to split my routes into separate files. I have this so far, but it …

node.js koa koa-router
GET request parameters with koa-router

http://localhost:3000/endpoint?id=83 results in 404 (Not Found). All other routes work as expected. Am I missing something here? router .…

node.js parameters get koa koa-router
How to handle a 404 in Koa 2?

I have a 404.jade file that I want to render whenever there is an invalid GET request. Here is my …

javascript node.js http-status-code-404 koa koa-router