@iomechs/speed-cloudflare-cli
v0.0.2
Published
Measure the speed and consistency of your internet connection using speed.cloudflare.com
Downloads
2
Readme
How to use
In your terminal
npx @iomechs/speed-cloudflare-cli
In your projects
npm install @iomechs/speed-cloudflare-cli
const speedTest = require('@iomechs/speed-cloudflare-cli');
const myFn = async () => {
const {downloadSpeed, uploadSpeed} = speedTest();
console.log(`${downloadSpeed} Mbps`);
console.log(`${uploadSpeed} Mbps`);
}
myFn();