sindresorhus/screenfull
Simple wrapper for cross-browser usage of the JavaScript Fullscreen API observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5323
- days_rel: n/a
- days_push: 1517
- n_releases_24m: 0
Adoption not part of the score
7140 stars · 681 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny (0.7 kB gzipped) JavaScript library that wraps the browser Fullscreen API, normalizing vendor-prefixed implementation differences. It lets web developers request, exit, and toggle fullscreen mode for the page or any element with a simple, consistent API.
Use cases
- make a webpage go fullscreen with a button click
- toggle fullscreen on an image or video element
- hide mobile navigation UI when entering fullscreen
- avoid writing cross-browser fullscreen vendor prefix code
- check whether fullscreen is supported before requesting it
When to choose
- you need reliable cross-browser fullscreen behavior in a web app
- you want a tiny dependency-free-feeling ESM utility instead of hand-rolled vendor prefix handling
- you need to fullscreen arbitrary DOM elements, not just the page
When to avoid
- you need to support iPhone Safari, which does not support the Fullscreen API
- you need new features beyond the current API, since the package is feature-complete
- you cannot use ESM and don't want to pin the older 5.2.0 version
Facets
library · maturity maintenance
ui-components developer-tools web-development frontend browser-extensions browser fullscreen-api cross-browser esm javascript dom nodejs
2 sources
- readme: https://github.com/sindresorhus/screenfull · fetched 2026-08-28 · b046a1c3fb69
- homepage: https://sindresorhus.com/screenfull · fetched 2026-08-29 · cd9cf14d050e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/screenfull | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/screenfull")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem