Last active
September 27, 2015 17:37
-
-
Save stefanschmidt/cceed6fd6d416abe4d21 to your computer and use it in GitHub Desktop.
Ookla Speedtest CLI customization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// available at https://github.com/sindresorhus/speed-test | |
function render() { | |
logUpdate([ | |
'↻ ' + stats.ping + getSpinner('ping'), | |
'↓ ' + stats.download + getSpinner('download'), | |
'↑ ' + stats.upload + getSpinner('upload') | |
].join('\n')); | |
} | |
// to select a specific server for testing get a server id | |
// from http://www.speedtest.net/speedtest-servers.php | |
var st = speedtest({maxTime: 20000, serverId: 123456}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment