offline.js is a npm package which returns the status of website(offline or online) Use Case: Web page is loaded, and then network connection is dropped. We should alert user about it. Offline.js hooks the offline event and we can use it to alert user. https://github.com/hubspot/offlinehttps://www.npmjs.com/package/offline-js
