Socket
Book a DemoInstallSign in
Socket

wifiman-speedtest

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wifiman-speedtest

A TypeScript library for network speed testing using the WiFiman API infrastructure.

1.0.1
latest
npmnpm
Version published
Weekly downloads
7
-95.07%
Maintainers
1
Weekly downloads
 
Created
Source

WiFiman Speed Test

A TypeScript library for network speed testing using the WiFiman API infrastructure.

Installation

npm install wifiman-speedtest

Usage

Basic Usage

import { WiFiManSpeedTest } from "wifiman-speedtest";

const speedTest = new WiFiManSpeedTest();
const results = await speedTest.runSpeedTest();

console.log(`Download: ${results.downloadSpeed.toFixed(2)} Mbps`);
console.log(`Upload: ${results.uploadSpeed.toFixed(2)} Mbps`);
console.log(`Ping: ${results.server.ping.toFixed(2)} ms`);

Command Line

# Run full test
npm test

# Download only
npm test download

# Upload only  
npm test upload

Configuration

const speedTest = new WiFiManSpeedTest({
  chunkSize: 5_000_000, // 5MB chunks
  measurementDuration: 30000, // 30 seconds
  silent: true // No console output
});

Test Types

// Full test (download + upload)
await speedTest.runSpeedTest();

// Download only
await speedTest.runDownloadOnly();

// Upload only
await speedTest.runUploadOnly();

License

MIT

Keywords

wifiman

FAQs

Package last updated on 17 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.