All Projects → feross → Connectivity

feross / Connectivity

Licence: mit
Detect if the network is up (do we have connectivity?)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Connectivity

Is Reachable
Check if servers are reachable
Stars: ✭ 249 (+329.31%)
Mutual labels:  detect, network, browser
Is Online
Check if the internet connection is up
Stars: ✭ 894 (+1441.38%)
Mutual labels:  detect, network, browser
Buffer
The buffer module from node.js, for the browser.
Stars: ✭ 1,178 (+1931.03%)
Mutual labels:  browserify, browser
String To Stream
Convert a string into a stream (streams2)
Stars: ✭ 75 (+29.31%)
Mutual labels:  browserify, browser
Simple Get
Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines
Stars: ✭ 357 (+515.52%)
Mutual labels:  browserify, browser
Vieb
Vim Inspired Electron Browser - Vim bindings for the web by design
Stars: ✭ 175 (+201.72%)
Mutual labels:  network, browser
Magnet Uri
Parse a magnet URI and return an object of keys/values
Stars: ✭ 183 (+215.52%)
Mutual labels:  browserify, browser
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (+3974.14%)
Mutual labels:  network, browser
Drag Drop
HTML5 drag & drop for humans
Stars: ✭ 443 (+663.79%)
Mutual labels:  browserify, browser
Clipboard Copy
Lightweight copy to clipboard for the web
Stars: ✭ 443 (+663.79%)
Mutual labels:  browserify, browser
Yt Player
Simple, robust, blazing-fast YouTube Player API
Stars: ✭ 576 (+893.1%)
Mutual labels:  browserify, browser
Render Media
Intelligently render media files in the browser
Stars: ✭ 181 (+212.07%)
Mutual labels:  browserify, browser
Gcping
Measure your latency to GCP regions
Stars: ✭ 405 (+598.28%)
Mutual labels:  network, browser
Lyo
📦 Node.js to browser - The easy way
Stars: ✭ 624 (+975.86%)
Mutual labels:  browserify, browser
Awesome Mad Science
Delightful npm packages that make you say "wow, didn't know that was possible!"
Stars: ✭ 909 (+1467.24%)
Mutual labels:  browserify, browser
Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-6.9%)
Mutual labels:  browserify
Vibe Core
Repository for the next generation of vibe.d's core package.
Stars: ✭ 56 (-3.45%)
Mutual labels:  network
Jumpgo
JumpGo Web Browser for Android
Stars: ✭ 54 (-6.9%)
Mutual labels:  browser
Zerio
Basic performance-oriented TCP client/server messaging C# API based on Windows Registered I/O (RIO)
Stars: ✭ 54 (-6.9%)
Mutual labels:  network
Ws Wrapper
Lightweight WebSocket lib with socket.io-like event handling, requests, and channels
Stars: ✭ 58 (+0%)
Mutual labels:  browser

connectivity travis npm downloads javascript style guide

Detect if the network is up (do we have connectivity?)

internet!

The module answers the most important question: is the cat-picture delivery system working?

usage

var connectivity = require('connectivity')

connectivity(function (online) {
  if (online) {
    console.log('connected to the internet!')
  } else {
    console.error('sorry, not connected!')
  }
})

Also works in the browser with browserify!

license

MIT. Copyright Feross Aboukhadijeh.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].