Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.