simple-url-speedtest
A very simple url testing based on ping response
Table of Contents
Demo
Link to demo: https://simple-url-speedtest.surge.sh
Installation
npm i simple-url-speedtest --save
Usage
Import SpeedTest function into your Application
import SpeedTest from "simple-url-speedtest";
const urlList = [
"https://www.facebook.com",
"https://www.google.com",
"https://www.apple.com",
"https://www.cnn.com",
"https://www.whatsapp.com",
"https://www.yahoo.com",
"https://www.samsung.com",
"https://www.lg.com",
];
SpeedTest(urlList, (data) => {
console.log(data)
});
SpeedTest(urlList).then(data => {
console.log(data)
});