Miss any of our Open RFC calls?Watch the recordings here! »

are-we-online

1.0.1 • Public • Published

Simple function to check if we are online.

Installation:

npm install --safe are-we-online

Usage:

const areWeOnline = require('are-we-online')

areWeOnline(isOnline => {
  if (isOnline) {
    console.log('We are online')
  } else {
    console.log('We are not online')
  }
})

Keywords

none

Install

npm i are-we-online

DownloadsWeekly Downloads

0

Version

1.0.1

License

none

Last publish

Collaborators

  • avatar