Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mtegarsantosa/remoni
(Express JS, Node JS) Record HTTP Request Live On Your Website
https://github.com/mtegarsantosa/remoni
Last synced: 9 days ago
JSON representation
(Express JS, Node JS) Record HTTP Request Live On Your Website
- Host: GitHub
- URL: https://github.com/mtegarsantosa/remoni
- Owner: mtegarsantosa
- Created: 2019-11-26T22:13:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T07:39:38.000Z (almost 5 years ago)
- Last Synced: 2024-10-01T18:08:29.773Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## REMONI JS
(Express JS, Node JS) Record HTTP Request Live On Your Website
## How to Use
npm i remoni
**Use Remoni on Express**
const express = require('express')
const remoni = require('remoni')const app = express()
app.use(remoni.record) // start record api request**Get Your Request Monitor**
remoni.get(data=>{
console.log(data) // will get all monitoring data
})Monitoring data will looks like
{
reqFrom: 'someweb.com/profile',
reqTo: 'yourweb.com/api/profile',
time: 1574838961085
},
{
reqFrom: 'otherweb.com',
reqTo: 'yourweb.com/api/myapi.json',
time: 1574839736272
}
// And other request
That is an example of results.The data will continue to grow according to request. You can save it to database, or whatever you want.