0.4.1 • Published 7 years ago

express-explorer v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Express Expolorer

Autodiscovering route explorer for every Express.js application.

Installation

npm install express-explorer

Usage

const express = require('express');
const explorer = require('express-explorer');
const app = new express();
  
//settings params is optional and these are default values:
const settings = {
  format: 'html'
};
  
app.use('/explorer', explorer(settings));

Settings

  • format: html (default) or json. If param is html you will get the explorer panel otherwise all discovered routes are served as a json. Even if you chose to get the html panel you can require the json format passing the query string ?format=json to the endpoint you chose for the explorer (ex. /explorer?format=json).
0.4.1

7 years ago

0.4.0

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago