https://github.com/meetdave3/domstat
Puppeteer based stat reporting CLI tool
https://github.com/meetdave3/domstat
Last synced: 8 months ago
JSON representation
Puppeteer based stat reporting CLI tool
- Host: GitHub
- URL: https://github.com/meetdave3/domstat
- Owner: meetdave3
- Created: 2022-06-23T18:57:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-25T22:26:02.000Z (over 3 years ago)
- Last Synced: 2025-04-19T10:15:15.914Z (9 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/domstat
- Size: 595 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# domstat
domstat is like [httpstat](https://github.com/reorx/httpstat) but for dom events
Helps in measuring [critical rendering path](https://web.dev/critical-rendering-path-measure-crp/) of a webpage & reports other browser timings & metrics
## Example output

## Install
```bash
npm install --global domstat
```
## CLI
```
$ domstat --help
Usage
$ domstat
Options
--url String. Url to test. Default is www.example.com
--headless Boolean. Pass flag to run test in headless mode
Examples
$ domstat --url=example.com --headless
Check version
$ domstat --version
```