Skip to content

sindresorhus/fast-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 21, 2019 00:45
February 6, 2022 02:15
February 6, 2022 02:15
May 8, 2021 02:20
February 6, 2022 02:26
July 17, 2022 12:29
May 19, 2016 04:30
May 8, 2021 02:20
February 6, 2022 02:26
February 6, 2022 02:26

fast-cli

Test your download and upload speed using fast.com

Install

Ensure you have Node.js version 12.20+ 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