npm install modmonitor```
npm install --save modmonitor
sh
PORT=7000 npm run server
`$3
`sh
WS_HOST=ws://localhost:7000/ PORT=8000 npm start
`Visit
$3
`json
{
"type":"site_data",
"object_type":"request",
"data":{
"http_status":200,
"site_url":"http://any_domain/",
"url":"/",
"time":0.3,
"php_error":0
}
}
``See demo