online_offline (npm): This will help user to tell them whether they are online or offline
Keywords: https://github.com/Apsanishant/offline-online