1.0.2 • Published 2 years ago

connection-status v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

connection-status NPM package

Developed For react developers to use it for SPAs for offline and online routes

Installation

npm install connection-status

Usage

const { useOnline } = require('connection-status');

const isOnline = useOnline();

  if(!isOnline){
    //your offline route
  }

Support

For support, contact on Discord username : nightmare_fuel. or Email : manishgupta220402@gmail.com

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago