expressjs/expressjs.com

Add API docs for router(req, res, [next])

Open

#1,151 opened on May 15, 2020

View on GitHub
 (6 comments) (0 reactions) (0 assignees)CSS (2,088 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,330 stars)
PR merge metrics
 (Avg merge 11d) (31 merged PRs in 30d)

Description

The instance function router(req, res, [next]) I can't find documented in the API docs. We should get it listed there and documented, somewhere in the http://expressjs.com/en/4x/api.html#router section.

The same docs would be in the 4x and 5x API docs.

Contributor guide