oskarkrawczyk/heyoffline
Warn your users when their network goes down. Make sure they don't lose anything. observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 85
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 5314
- days_rel: n/a
- days_push: 90
- n_releases_24m: 0
Adoption not part of the score
1126 stars · 66 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Heyoffline is a framework-agnostic vanilla JavaScript library that shows a notification modal when a user's network connection goes down. It can optionally warn only when unsaved form fields have been modified, helping prevent data loss.
Use cases
- warn users when their network goes down
- prevent users from losing unsaved form data when offline
- show an offline notification modal in a web app
- detect online/offline status changes in the browser
- monitor form fields and alert only when data would be lost
When to choose
- you want a dependency-free vanilla JS offline warning with built-in styles
- you need to protect users from losing unsaved form input during outages
- you want a quick drop-in script or npm module without framework coupling
When to avoid
- you need full offline functionality like service-worker caching or background sync
- you use a framework and prefer its native offline/notification ecosystem
- you need offline detection in non-browser environments
Facets
library · maturity active
ui-components form-handling developer-tools web-development frontend developer-tools browser offline-detection vanilla-javascript network-status form-protection notification-modal javascript nodejs
2 sources
- readme: https://github.com/oskarkrawczyk/heyoffline · fetched 2026-08-28 · 693752370682
- registry_npm: https://registry.npmjs.org/heyoffline · fetched 2026-08-29 · e9d33a191380
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oskarkrawczyk/heyoffline | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="oskarkrawczyk/heyoffline")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem