Is Online is a JavaScript package that checks whether a device can actually reach the internet rather than merely having a local network connection. It works in Node.js and modern browsers when bundled. The function returns a promise that resolves to a simple online or offline Boolean result. Developers can set a timeout, cancel a check through AbortSignal, and choose IPv4 or IPv6 connectivity. Custom fallback URLs can be supplied when the default probes are unavailable or blocked. In Node.js, the package combines HTTPS, DNS, captive-portal, and Cloudflare checks in parallel for greater reliability. This makes it useful for apps that need a practical connectivity test before starting network-dependent work.

Features

  • Actual internet accessibility detection
  • Node.js and modern browser support
  • Configurable connectivity timeout
  • AbortSignal cancellation
  • IPv4 and IPv6 checking
  • Custom fallback connectivity URLs

Project Samples

Project Activity

See All Activity >

Categories

Internet

License

MIT License

Follow Is Online

Is Online Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Is Online!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Internet Software

Registered

22 hours ago