Socket
Book a DemoInstallSign in
Socket

express-route-list

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-route-list

List routes for Express Framework

1.0.23
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Express Route List

List routes for Express Framework

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

Why use this package?

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

Keywords

express

FAQs

Package last updated on 22 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.