is-offline-node
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

is-offline-node

check is offline in node environment

How it work? Just check is able to connect with google.com

install

npm i is-offline-node

usage

import isOffline from 'is-offline-node'

const offline = await isOffline()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i is-offline-node

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • qidanta