Library to help detect browser connectivity (e.g., offline/online)