Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/fast-cli
Test your download and upload speed using fast.com
https://github.com/sindresorhus/fast-cli
cli-app command-line-tool download-speed nodejs npm-package speed-test
Last synced: about 1 month ago
JSON representation
Test your download and upload speed using fast.com
- Host: GitHub
- URL: https://github.com/sindresorhus/fast-cli
- Owner: sindresorhus
- License: mit
- Created: 2016-05-18T21:24:15.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T10:29:23.000Z (about 2 years ago)
- Last Synced: 2024-04-14T11:09:11.396Z (5 months ago)
- Topics: cli-app, command-line-tool, download-speed, nodejs, npm-package, speed-test
- Language: JavaScript
- Homepage:
- Size: 1.4 MB
- Stars: 2,543
- Watchers: 26
- Forks: 107
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome - sindresorhus/fast-cli - Test your download and upload speed using fast.com (TypeScript)
- fucking-Awesome-Linux-Software - ![Open-Source Software - cli](https://github.com/sindresorhus/fast-cli)) - Test your download and upload speed using fast.com. (Applications / Utilities)
- awesome-starred-test - sindresorhus/fast-cli - Test your download and upload speed using fast.com (TypeScript)
- starred - sindresorhus/fast-cli - Test your download and upload speed using fast.com (TypeScript)
- awesome-github-star - fast-cli
- awesome-list - fast-cli
- Awesome-Linux-Software - ![Open-Source Software - cli](https://github.com/sindresorhus/fast-cli) - Test your download and upload speed using fast.com. (Applications / Utilities)
- jimsghstars - sindresorhus/fast-cli - Test your download and upload speed using fast.com (TypeScript)
README
# fast-cli
> Test your download and upload speed using [fast.com](https://fast.com)
![](screenshot.gif)
## Install
Ensure you have [Node.js](https://nodejs.org) 18+ installed. Then run the following:
```sh
npm install --global fast-cli
```*This project uses Puppeteer under the hood. Most [install issues](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md) are related to that.*
## Usage
```
$ fast --helpUsage
$ fast
$ fast > fileOptions
--upload, -u Measure upload speed in addition to download speed
--single-line Reduce spacing and output to a single line
--json JSON outputExamples
$ fast --upload > file && cat file
17 Mbps
4.4 Mbps$ fast --upload --json
```##### Upload speed
##### JSON output
The speeds are in Mbps.
```sh
fast --upload --json
``````json
{
"downloadSpeed": 52,
"uploadSpeed": 64,
"downloaded": 270,
"uploaded": 290,
"latency": 9,
"bufferBloat": 46,
"userLocation": "Somewhere, NO",
"userIp": "49.222.206.21"
}
```## Related
- [speed-test](https://github.com/sindresorhus/speed-test) - Test your internet connection speed and ping using speedtest.net