Skip to content
sazmcoPublic

About

Official SazM CLI: website speed audit, TTFB diagnostic, and Core Web Vitals analyzer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@sazm/cli

Official SazM CLI & SDK: live website speed audit, TTFB diagnostic, and latency waterfall analyzer.

Maintained by SazM — 20+ years in production engineering (since Oct 2006).

npm version License: MIT SazM Speed Audit


Quick Run via NPX

No installation needed — run audits instantly against any domain or URL:

npx @sazm/cli audit https://sazm.in

Example terminal output:

⚡ SazM Website Speed Audit — Running diagnostic on https://sazm.in...

  Target URL:         https://sazm.in/
  HTTP Status:        200 OK
  Edge Server:        cloudflare
  Content Size:       14.2 KB

  Latency Waterfall:
  ├─ DNS Lookup:      14.2 ms
  ├─ TCP Handshake:   28.1 ms
  ├─ TLS Negotiation: 31.4 ms
  ├─ TTFB (Server):   72.6 ms [GOOD]
  └─ Total Response:  89.3 ms

  Web Vitals Benchmark: TTFB <= 800ms is Good (Chrome 75th percentile).
  Detailed Core Web Vitals audit: https://sazm.in/audit

Global CLI Installation

npm install -g @sazm/cli

Commands

Command Description
sazm audit <url> Measures TTFB, DNS, TCP, TLS and server response timings
sazm audit <url> --json Outputs machine-readable JSON for CI/CD pipelines
sazm ping <url> Fast latency edge ping
sazm version Displays CLI version
sazm help Shows command options

Programmatic Node.js SDK

You can also use the SazM diagnostic engine directly inside Node.js applications:

import { auditWebsite } from '@sazm/cli';

const result = await auditWebsite('https://sazm.in');

console.log('HTTP Status:', result.statusCode);
console.log('TTFB:', result.timings.ttfb, 'ms');
console.log('Total Response Time:', result.timings.total, 'ms');

About SazM

SazM delivers fixed-price website speed optimizations and production engineering:

20+ years in production engineering (since Oct 2006). 1,000+ projects for 300+ clients for Weismann Web per CEO letter.


License

MIT © 2026 SazM

About

Official SazM CLI: website speed audit, TTFB diagnostic, and Core Web Vitals analyzer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages