Skip to content
项目

关于

使用 fast.com 测试下载和上传速度

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+3
15天
0
1个月
+6

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

fast-cli

Test your download and upload speed using fast.com

Install

Ensure you have Node.js 22.12+ installed. Then run the following:

npm install --global fast-cli

This project uses Puppeteer under the hood. On first run, it downloads Chrome (~200 MB) if it's not already installed. Most install issues are related to that.

Usage

$ fast --help

  Usage
    $ fast
    $ fast > file

  Options
    --upload, -u   Measure upload speed in addition to download speed
    --single-line  Reduce spacing and output to a single line
    --json         JSON output
    --verbose      Include latency and server location information

  Examples
    $ fast --upload > file && cat file
    17 Mbps
    4.4 Mbps

    $ fast --upload --json

Upload speed

Verbose output

Include additional diagnostic information like latency and client location:

fast --verbose
72 Mbps
8 Mbps

Latency: 8 ms (unloaded) / 16 ms (loaded)
Client: Osaka, JP • 216.144.245.67
Server: Osaka, JP | Tokyo, JP

JSON output

The speeds are in Mbps.

fast --upload --json
{
	"downloadSpeed": 52,
	"uploadSpeed": 64,
	"downloadUnit": "Mbps",
	"uploadUnit": "Mbps",
	"downloaded": 270,
	"uploaded": 290,
	"latency": 9,
	"bufferBloat": 46,
	"userLocation": "Somewhere, NO",
	"serverLocations": ["Somewhere, NO", "Elsewhere, SE"],
	"userIp": "49.222.206.21"
}

Related

  • speed-test - Test your internet connection speed and ping using speedtest.net

探索相关项目

加载中…