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

Readme

Keywords

Package Sidebar

Install

npm i express-api-routes-list

Weekly Downloads

19

Version

1.1.2

License

ISC

Last publish

Collaborators

  • alexgrozav