jsonapi-request-logger
v1.0.0
Published
HTTP request logger middleware for express JSON APIs
Downloads
4
Maintainers
Readme
JSON API request logger
Development HTTP request logger middleware for express.js JSON APIs
Installation
$ npm install jsonapi-request-logger
Quick start
const express = require('express')
const requestLogger = require('jsonapi-request-logger')
const app = express()
app.use(requestLogger)
app.get('/', (req, res) => {
res.send('hello world')
})
app.listen(3000)