Skip to content

sindresorhus/fast-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 13, 2024
81542e4 · May 13, 2024

History

57 Commits
May 13, 2024
May 13, 2024
May 16, 2017
Feb 20, 2019
May 13, 2024
Sep 26, 2017
May 7, 2021
May 13, 2024
May 13, 2024
Feb 20, 2019
May 18, 2016
May 13, 2024
May 13, 2024

Repository files navigation

fast-cli

Test your download and upload speed using fast.com

Install

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

npm install --global fast-cli

This project uses Puppeteer under the hood. 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

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

    $ fast --upload --json
Upload speed

JSON output

The speeds are in Mbps.

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

Related

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