1.0.23 • Published 2 years ago

express-route-list v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Express Route List

List routes for Express Framework

npm.io npm.io npm.io npm.io

Install

npm i -D express-route-list

Setup

If you are using Typescript in project, read typescript setup

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

//app.js

module.exports = app;

Create a configuration file:

//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.

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

Output Example

npm.io

Why use this package?

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

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago