network speed logger. uses speedtest-net and pm2.
results will be saved to db.json
and look like this:
{
"logs": [
{
"id": "feea2741-9d28-43ef-b2e6-789d35853357",
"timestamp": "2020-11-16T15:46:49.000Z",
"ping": "4ms",
"down": "591mbps",
"up": "93.78mbps",
"packetLoss": 0,
"url": "https://www.speedtest.net/result/c/feea2741-9d28-43ef-b2e6-789d35853357"
}
]
}
npm run
to check available commands, but:
npm run start
npm run stop
npm run once
to perform test oncenpm run logs
to tail pm2 logs