百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

fast-cli

> 包管理
开源

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

2.9K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

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

fast-cli

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

安装

确保你已安装 Node.js 20 或更高版本。然后运行以下命令:

bash
npm install --global fast-cli

本项目在底层使用了 Puppeteer。大多数安装问题都与它有关。

用法

$ 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

上传速度

详细输出

包含额外的诊断信息,如延迟和客户端位置:

bash
fast --verbose
72 Mbps
8 Mbps

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

JSON 输出

速度单位为 Mbps。

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

相关

  • speed-test - 使用 speedtest.net 测试你的互联网连接速度和 ping

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcli-appcommand-line-tooldownload-speednodejs

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image