Skip to content

ivsgroup/mdns-spawn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDNS spawn

Version License Code style

Installation

npm install mdns-spawn

Usage sample

const MDNS_Spawn = require('mdns-spawn');

var browser = new MDNS_Spawn();
browser.on('serviceUp', function(service){
  console.log(service);
});

browser.on('serviceDown', function(service){
  console.log("Service down ", service);
});

browser.start();

setTimeout(browser.stop, 4000);