1.0.1 • Published 7 years ago

express-detective v1.0.1

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

express-detective

A simple Express middleware to pretty print the details of incoming requests.

Installation

npm install --save express-detective

Usage

const express = require('express')
const detective = require('express-detective')
const app = express()

app.use(detective())

app.post('/create-user', createUser)
app.get('/get-user', getUser)

app.listen(8000)

Configuration

TODO

License

MIT © Theodor Lindekaer