Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epoch/jsonapi-request-logger
https://github.com/epoch/jsonapi-request-logger
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/epoch/jsonapi-request-logger
- Owner: epoch
- Created: 2021-07-15T11:35:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-15T11:49:43.000Z (over 3 years ago)
- Last Synced: 2024-11-24T14:15:14.377Z (about 1 month ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON API request logger
Development HTTP request logger middleware for express.js JSON APIs
## Installation
```sh
$ npm install jsonapi-request-logger
```## Quick start
```js
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)
```## Liscense
[MIT](LICENSE)