Skip to content

ivsgroup/netshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

netshd is a wrapper around netsh windows tool for managing network.

Initial features :

  • scan available wifi networks

Example :

var netshd = require("netshd");

var nd = new netshd();
var prefered = "FreeWifi";


nd.addEvent('wifiFound', function(infos) {
  console.log("new wifi found : " + infos.ssid);
});

nd.addEvent('wifiLost', function(infos) {
  console.log("wifi lost : " + infos.ssid);
});


setInterval(function(){
  console.log("Prefered SSID %s is %s", prefered, nd.isWLANAvailable(prefered));
}, 1000);

nd.start();

setTimeout(nd.stop, 10 * 1000);

About

Netsh wrapper for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published