express-router-printer

1.0.4 • Public • Published

express-router-printer

small node static server

Install

npm install express-router-printer

Usage

var server = require('express')();

var options = {
    // table header
    header: ['API PATH', 'API METHOD'],

    // show statistics at the end of table
    showStatistics: true,

    // auto print the table, if false, module will return the table object
    autoPrint: true,

    // other routeres
    othersRouters: []
};

require('express-router-printer')(server, options);

Readme

Keywords

Package Sidebar

Install

npm i express-router-printer

Weekly Downloads

1

Version

1.0.4

License

MIT

Last publish

Collaborators

  • missile