speedywifi
v1.0.1
Published
Tool to fetch WiFi Upload and Download speed Data
Maintainers
Readme
SpeedyWiFi
The creation of "WiFiSpeedy" simplifies fetch data of download and upload speeds for your current Wi-Fi network.
Installation
npm i speedywifi
npm install speedywifiImport Methods
const { getWifiDownloadSpeed, getWifiUploadSpeed } = require('speedywifi');Methods
- getWifiDownloadSpeed()
- getWifiUploadSpeed()
Usage of getWifiDownloadSpeed()
const { getWifiDownloadSpeed } = require('speedywifi');
(async () => {
const [downloadError, downloadSpeed] = await getWifiDownloadSpeed();
if (downloadError) console.error(downloadError.message);
console.log(`Your Wi-Fi Download Speed: ${downloadSpeed.mbps} Mbps`);
})();Usage of getWifiUploadSpeed()
const { getWifiUploadSpeed } = require('speedywifi');
(async () => {
const [uploadError, uploadSpeed] = await getWifiUploadSpeed();
if (uploadError) console.error(uploadError.message);
console.log(`Your Wi-Fi Upload Speed: ${uploadSpeed.mbps} Mbps`);
})();License
Feedback
If you have any feedback, please reach out to us at [email protected]
