# Router

*noun*

say it: **“ROW-ter”** **/ˈraʊtər/**

An Express object that groups related routes, often in their own file, and is mounted under a path.

## What is **Router**?

`express.Router()` groups related routes in their own file, mounted under a path.

```javascript
const recipes = express.Router();
recipes.get('/', listRecipes);
app.use('/recipes', recipes);
```

## In a sentence

- “Mounting the **Router** at /games makes its "/" route answer /games.”
- “The tickets **Router** holds every /tickets route in routes/tickets.js.”

Level: Journeyman · [More Node.js terms at this level](https://www.ask-codey.com/glossary?category=nodejs&level=3)

Updated: November 19, 2026

## In other subjects

- [Router in Angular](https://www.ask-codey.com/glossary/router)

Source: https://www.ask-codey.com/glossary/router-nodejs
