sidebarDepth: 2
Net Speed
Description
Estimate the clients network speed.
Install
yarn add @houlagins/net-speed
#OR
npm install @houlagins/net-speed
API
default
Returns a String indicating 2g | 3g | 4g | 5g
import getSpeed from '@houlagins/net-speed'
showSpeed()
async function showSpeed(){
const speed = await getSpeed()
console.log(speed)
}