Comparing version 1.0.0 to 1.0.1
@@ -82,3 +82,3 @@ #!/usr/bin/env node | ||
const latency = ms(Math.round(responseTimeSamples.reduce((a, b) => a + b) / responseTimeSamples.length), { long: true }) | ||
const spin = offset => chalk.gray(`${spinner[(tick + offset) % spinner.length]}`); | ||
const spin = offset => chalk.dim(`${spinner[(tick + offset) % spinner.length]}`); | ||
clear(true) | ||
@@ -89,5 +89,5 @@ | ||
console.log(chalk.red.bold("FAST.COM")) | ||
console.log(spin(2) + chalk.black(' Elapsed\t') + timeElapsed); | ||
console.log(spin(3) + chalk.black(' Latency\t') + latency); | ||
console.log(spin(4) + chalk.black(' Avg. Speed\t') + Math.round(averageBits / 1000000) + " Mbps "); | ||
console.log(spin(2) + chalk.yellow(' Elapsed\t') + timeElapsed); | ||
console.log(spin(3) + chalk.yellow(' Latency\t') + latency); | ||
console.log(spin(4) + chalk.yellow(' Avg. Speed\t') + Math.round(averageBits / 1000000) + " Mbps "); | ||
@@ -94,0 +94,0 @@ lastReport = { |
{ | ||
"name": "fast.com", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A fast.com cli", | ||
@@ -5,0 +5,0 @@ "bin": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4147