npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gtmetrix-cwv-inspector

v1.0.0

Published

Ultra-fast CLI & telemetry inspector for Google Core Web Vitals (LCP, INP, CLS, TTFB) and 28-day CrUX field benchmarks.

Readme

⚡ gtmetrix-cwv-inspector

Ultra-fast CLI and Node.js telemetry inspector for Google Core Web Vitals (LCP, INP, CLS, TTFB) & CrUX field data. Engineered by Rajendra Singh Rathore at the gtmetrix.in Performance Research Lab.

License: MIT Node.js Version Engineered by gtmetrix.in Google CWV Ready


🚀 Overview

gtmetrix-cwv-inspector is a lightweight, zero-dependency command-line utility designed for DevOps engineers, frontend architects, and Technical SEO specialists to measure real-time server network latency (DNS, TCP, TLS, TTFB) and query Google's 28-day Chrome User Experience Report (CrUX) field datasets directly from the terminal or in CI/CD pipelines.


📦 Quick Start & Installation

Option 1: Instant Execution with NPX (No installation required)

npx gtmetrix-cwv https://example.com

Option 2: Global Installation via NPM

npm install -g gtmetrix-cwv-inspector

Then run anywhere:

gtmetrix-cwv https://yourstore.com

Option 3: Local Clone & Development

git clone https://github.com/RRajendrasingh/gtmetrix-cwv-inspector.git
cd gtmetrix-cwv-inspector
node ./bin/cli.js https://gtmetrix.in

📊 Terminal Output Example

┌─────────────────────────────────────────────────────────────┐
│  ⚡ gtmetrix.in — Core Web Vitals & TTFB Telemetry Inspector  │
└─────────────────────────────────────────────────────────────┘
Authored by: Rajendra Singh Rathore (Lead Technical SEO Specialist)
Official Lab: https://gtmetrix.in | License: MIT

▶ Auditing: https://gtmetrix.in
Executing high-precision network handshake & telemetry...

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  SYNTHETIC NETWORK HANDSHAKE & TTFB TELEMETRY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  HTTP Status Code : 200 OK
  DNS Lookup       : 24 ms
  TCP Connect      : 48 ms
  TLS Handshake    : 62 ms
  Time to 1st Byte : 110 ms [✓ FAST]
  Total Download   : 145 ms (34.0 KB)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  28-DAY GOOGLE CrUX REAL-USER FIELD BENCHMARKS (MOBILE)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  LCP (Largest Paint) : 1200 ms [✓ FAST]
  INP (Interaction Lag): 65 ms [✓ FAST]
  CLS (Layout Shift)  : 0.02 [✓ STABLE]
  FCP (First Paint)   : 800 ms [✓ FAST]
  TTFB (Server Resp)  : 140 ms [✓ FAST]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Powered by gtmetrix.in Performance Research Lab
🔗 Full Web Audit & Optimization: https://gtmetrix.in/report?url=https%3A%2F%2Fgtmetrix.in%2F

🛠️ CLI Options

| Flag | Description | Example | | :--- | :--- | :--- | | --json | Output machine-readable JSON for CI/CD assertions | gtmetrix-cwv https://example.com --json | | --key=<API_KEY> | Pass custom Google Chrome UX API Key | gtmetrix-cwv https://example.com --key=AIzaSy... | | --help | Display command usage and parameters | gtmetrix-cwv --help |


💻 Programmatic Node.js API Usage

You can also import gtmetrix-cwv-inspector directly into your Node.js backend services:

const { measureNetworkTelemetry, fetchCruxFieldData } = require('gtmetrix-cwv-inspector');

async function auditSite() {
    const telemetry = await measureNetworkTelemetry('https://example.com');
    console.log(`TTFB: ${telemetry.metrics.ttfbMs} ms`);
    console.log(`DNS Lookup: ${telemetry.metrics.dnsLookupMs} ms`);

    const crux = await fetchCruxFieldData('https://example.com');
    if (crux.available) {
        console.log('CrUX Data:', crux.record.metrics);
    }
}

auditSite();

👨‍💻 Author & Research Lab


📄 License

This project is open-source software licensed under the MIT License © 2026 Rajendra Singh Rathore.