theharshal30/lightsout
Gate your PRs on the 14 KB first-round-trip budget — fail the build when your HTML document no longer renders in the first network round-trip.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | URL to measure (e.g. a preview/staging deploy). Either url or file is required. | no | — |
| file | Path to a local HTML file to measure (e.g. dist/index.html). Either url or file is required. | no | — |
| budget | Byte budget for the HTML document. Default ~14 KB (the TCP initcwnd). | no | 14336 |
| fail-on-bust | Fail the job when the HTML document busts the budget. Set to 'false' to report only. | no | true |
Outputs
| name | description |
|---|---|
| fits | 'true' if the HTML document fits the first round-trip budget. |
| document-bytes | The document's on-the-wire size in bytes. |
| round-trips | Predicted network round-trips to first paint. |