Skip to content

prichey/splogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 once
  • npm run logs to tail pm2 logs

About

network speed logger

Resources

Stars

Watchers

Forks