express-api-routes-list

1.1.2 • Public • Published

express-api-routes-list

Creates a pretty printed express routes table, suitable for printing to the command line or to be used in HTML.

const express = require('express');
const routesList = require('express-api-routes-list');

const app = express();

console.log(routesList(app).toString());  // Prints Command Line table
console.log(routesList(app).toHtml()); // Prints HTML table

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    65
    • latest

Version History

Package Sidebar

Install

npm i express-api-routes-list

Weekly Downloads

65

Version

1.1.2

License

ISC

Last publish

Collaborators

  • alexgrozav