Next Planet of Monkeys

    project-router-viewer

    0.0.3 • Public • Published

    Project Router Viewer

    See a list of route mappings for Project Router.

    Project Router Viewer Screenshot

    Install

    npm install --save project-router-viewer
    

    Setup

    To see routes listed at /routes mount as middleware.

    var projectRouterViewer = require('project-router-viewer');
    var router = projectRouter.map(require('./routes'));
     
    if ('development' === app.get('env')) {
      app.use('/routes', projectRouterViewer(router));
    }
     
    app.use(router);

    Install

    npm i project-router-viewer

    DownloadsWeekly Downloads

    5

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • moudy