# express-route-list

> List routes for Express Framework

Latest version **1.0.23** (published 2023-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install express-route-list
pnpm add express-route-list
yarn add express-route-list
bun add express-route-list
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.23 |
| Published | 2023-11-22 |
| First published | 2023-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | joalisonpereira |
| Maintainers | joalisonpereira |
| Keywords | express, express3, express4, express5, routes, list, log, paths |

## Links

- npm: https://www.npmjs.com/package/express-route-list
- Repository: https://github.com/joalisonpereira/express-route-list
- Homepage: https://github.com/joalisonpereira/express-route-list#readme
- Issues: https://github.com/joalisonpereira/express-route-list/issues
- npm.io page: https://npm.io/package/express-route-list

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) 4.1.2
- [node-exec-promise](https://npm.io/package/node-exec-promise.md) 1.0.2
- [console-table-printer](https://npm.io/package/console-table-printer.md) ^2.11.1

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.23 (latest) — 2023-11-22
- 1.0.22 — 2023-10-13
- 1.0.21 — 2023-03-09
- 1.0.20 — 2023-03-09
- 1.0.19 — 2023-02-10
- 1.0.18 — 2023-02-10
- 1.0.17 — 2023-02-10
- 1.0.16 — 2023-02-10
- 1.0.15 — 2023-02-10
- 1.0.14 — 2023-02-10
- 1.0.13 — 2023-02-09
- 1.0.12 — 2023-02-09
- 1.0.11 — 2023-02-09
- 1.0.10 — 2023-02-09
- 1.0.9 — 2023-02-09
- … 8 more at https://npm.io/package/express-route-list/versions

## README

# Express Route List

> List routes for Express Framework

![](./docs/badge-statements.svg) ![](./docs/badge-functions.svg) ![](./docs/badge-lines.svg) ![](./docs/badge-branches.svg)

## Install

```bash
npm i -D express-route-list
```

## Setup

If you are using Typescript in project, read [typescript setup](./docs/TSCONFIGURATION.md)

Export the app (regardless of where you are declaring it).

```js
//app.js

module.exports = app;
```

Create a configuration file:

```js
//route-list.js
const { configure } = require('express-route-list');
const app = require('./app');

configure(app, { showIndex: true, prefix: '' });
```

## Execute

Create a script entry in package.json and run.

```bash
npm pkg set scripts.route-list="node route-list.js"
```

```bash
npm run route-list
```

## Output Example

![](./docs/output.png)

## Why use this package?

This package provides a quick way to easily visualize your application's routes, with a minimal configuration.

---
_Source: https://npm.io/package/express-route-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
