A lightweight TypeScript library for detecting online/offline status in browsers with modern bundler support. Minimal dependencies, tree-shakable, and works with any bundler.
-
Updated
Oct 2, 2025 - TypeScript
A lightweight TypeScript library for detecting online/offline status in browsers with modern bundler support. Minimal dependencies, tree-shakable, and works with any bundler.
Connection Detector helps the user or audience that visits or makes use of your application to know when he or she has an active internet connection.
Add a description, image, and links to the offline-detector topic page so that developers can more easily learn about it.
To associate your repository with the offline-detector topic, visit your repo's landing page and select "manage topics."