Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast.com

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast.com

A fast.com cli

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

<img src=https://user-images.githubusercontent.com/15277233/194747110-c13cfb06-75e4-4b10-bb54-5db0d64ac7bd.svg width=120>

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').

Keywords

FAQs

Package last updated on 09 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc