New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

js-network-monitor

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-network-monitor

Monitor internet connection with javascript

1.0.3
69

Supply Chain Security

100

Vulnerability

71

Quality

81

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Version published
Weekly downloads
18
1700%
Maintainers
1
Weekly downloads
 
Created

js-network-monitor

Monitor internet connection with javascript

Install with bower
$ bower install --save js-network-monitor

Usage

<!-- Compiled JavaScript -->
<script src="bower_components/dist/js-network-monitor.js"></script>

<script>
  var options = {
    url: '/favicon.ico', // default
    timeout: 3000, // default 3 seconds
    sleep_delay: 5000, // default 5 seconds
  };
  var js_network_monitor = new JsNetworkMonitor(options);
  js_network_monitor.start();
</script>

FAQs

Package last updated on 05 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts