expressjs / expressjs/expressjs.com

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

Open
#1,151 6 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
MDX
Stars
5.4k
Forks
2.3k
Avg merge
2d 23m
Merged PRs (30d)
14

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.