@iomechs/speed-cloudflare-cli
0.0.2 • Public • Published
speed-cloudflare-cli
Measure the speed and consistency of your internet connection using speed.cloudflare.com
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();
Package Sidebar
Install
npm i @iomechs/speed-cloudflare-cli
Weekly Downloads