fast.com

1.0.6 • Public • Published

A CLI version of Netflix FAST.COM (Unofficial).

file

Usage

npx fast.com@latest

How does it work?

  1. Send a GET request to https://fast.com/
  2. Parse the document using cheerio
  3. Query the script tag and get its src
  4. Fetch the script content
  5. Parse the script with acorn
  6. Find the token using acorn-walk
  7. Send requests to https://api.fast.com/netflix/speedtest/v2?https=true&token=${token}&urlCount=5 to get the request object urls.
  8. Send all requests at once.
  9. Benchmark using stream.on('data').

Readme

Keywords

Package Sidebar

Install

npm i fast.com

Weekly Downloads

5

Version

1.0.6

License

Apache-2.0

Unpacked Size

4.98 kB

Total Files

3

Last publish

Collaborators

  • seanghay