Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vivekimsit/browser-is-online
Get the online status of the browser.
https://github.com/vivekimsit/browser-is-online
Last synced: 1 day ago
JSON representation
Get the online status of the browser.
- Host: GitHub
- URL: https://github.com/vivekimsit/browser-is-online
- Owner: vivekimsit
- License: mit
- Created: 2016-07-26T16:59:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T13:44:12.000Z (over 7 years ago)
- Last Synced: 2024-11-18T23:38:48.689Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# browser-is-online [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![npm](https://img.shields.io/npm/dm/localeval.svg)](https://www.npmjs.org/package/browser-is-online)
> Check the network connection
## Usage
```js
const isOnline = require('browser-is-online');isOnline((err, status) => {
if (err) throw err;
changeText(status);
});
```## License
MIT © [Vivek Poddar](http://github.com/vivekimsit)