{"name":"mdns","version":"2.7.0","description":"multicast DNS service discovery","main":"./lib/mdns.js","scripts":{"test":"node utils/testrun","install":"node-gyp rebuild"},"keywords":["zeroconf","bonjour","dns_sd","mDNSResponder"],"devDependencies":{"ejs":"*","glob":"*","less":"*","minimatch":"*","mkdirp":"*","ncp":"*","nopt":"*","proxyquire":"^2.0.0","slide":"*"},"repository":{"type":"git","url":"git+ssh://git@github.com/agnat/node_mdns.git"},"homepage":"http://agnat.github.com/node_mdns","bugs":{"url":"http://github.com/agnat/node_mdns/issues"},"licenses":[{"type":"MIT","url":"http://github.com/agnat/node_mdns/raw/master/LICENSE"}],"author":{"name":"David Siegel","email":"agnat@me.com"},"contributors":[{"name":"Orlando Vazquez","email":"ovazquez@gmail.com","url":"http://or.lan.do/"},{"name":"Ryan Dahl","email":"ry at tiny clouds dot org","url":"http://four.livejournal.com/"},{"name":"Dominic Tarr","url":"http://twitter.com/dominictarr"},{"name":"Emil Stenqvist"},{"name":"Toby Ealden"},{"name":"Cong Liu"},{"name":"Tian Zhang"}],"dependencies":{"bindings":"~1.2.1","nan":"^2.14.0"},"gypfile":true,"gitHead":"121e695a68186a042b138604d1613d3dd253e83c","_id":"mdns@2.7.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"agnat","email":"agnat@me.com"},"maintainers":[{"name":"agnat","email":"agnat@me.com"},{"name":"ronkorving","email":"ron@ronkorving.nl"}],"dist":{"integrity":"sha512-Gs3jVkTKvFHVuQUoSY2q+8ek9th8K7CgQJR3QQmDXTSl5lL1A9Uu81COtEBvyvWffvJvdmIVMp6a5Vcnu9yv2w==","shasum":"2412337cf69072a5922c1448e9702adadb9f48fa","tarball":"http://registry-npm.ywwl.com/mdns/download/mdns-2.7.0.tgz","fileCount":115,"unpackedSize":7327246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsxWwCRA9TVsSAnZWagAAEE0P/3W4ruIrXEPaOt3QSUIc\nHp0TNr3hdJEY6uBmGk9WWuV2J60hTooxJXjzlY95wuX3xxjPxmbBey2OK6zc\n/RGTZsNDcJuUqh9CZ9P24WO68su6Rgor8Tf9Ivqxj9SqtUoYa+9cJRUFQ4V8\nnWYxb9U24plfD1PCHc/28DOZoqs+jhw4LA5eMayr3Q+n1ckRfPOhDhMJHx3c\ng5XXCZ+lnrPxS4A9A2LoYwlMQkAfENf2DLYKPpG3IdL7oolbSq6LOhw/eYF3\nBxNtINt8IjrIqDqwouMHNqMYxRKLeyTpQrcb+xvQx56PQUjXe33rLD5xR1xI\nx9k1cLZXIU4sJ/9wM8addz+YlNDhDc5vpUM0in4NO+oBOiToJVWhO9odiSgP\n8mXlYM4Umdj6aVJmOZXud2CbNw0jRqXHfDO1rjQQ26Y2QdxLgWv45wYOGXyH\nP6oFbwWHLdopcvwVcflc8bKtPsT3tSLNmxM8P/vJYVsj/lL+vSSblwSBEp6l\n1lG7Mxf9d+hzp76P0EjIYEQYFD04mCJFF/9+vro7eAj8ropRxKYEwtG4wKVA\njaj5jfZt7ojHNDKHLZin3hlSNkm1QqCfPDMr64bPF1K2gGVWs6MxPLbl1p0J\n8/NtAv3d0VpAvEmP2bOE7+r+z4z5k8xPzXUTOJN15OdlmnErMMJdvWkMGKtL\nCdxa\r\n=RI/8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHr6BurrYoh08Cew7Q4Sbm1TjSXVWcc3H1XWlk9R3ATkAiAJxeQkCObPQ0J66tCqz8CIBmQYfMjckMwukRnVyBeG6Q=="}],"size":2133053,"noattachment":false,"key":"/mdns/-/mdns-2.7.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_2.7.0_1605572016215_0.20100409309462353"},"_hasShrinkwrap":false,"readme":"# mdns -- node.js Service Discovery\n\n* Package: mdns\n* Description: multicast DNS service discovery\n* Installation: `npm install mdns` (see below)\n* Documentation: [mdns user guide](http://agnat.github.com/node_mdns/user_guide.html)\n* License: [MIT](http://github.com/agnat/node_mdns/blob/master/LICENSE)\n* Donations: [![Flattr this git repository](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=agnat&url=https://github.com/agnat/node_mdns&title=node_mdns&tags=github&category=software)\n\nmdns adds multicast DNS service discovery, also known as zeroconf or bonjour to Node.js. It provides an object based interface to announce and browse services on the local network.\n\n## Synopsis\n\n```js\n// import the module\nconst mdns = require('mdns');\n\n// advertise a http server on port 4321\nconst ad = mdns.createAdvertisement(mdns.tcp('http'), 4321);\nad.start();\n\n// watch all http servers\nconst browser = mdns.createBrowser(mdns.tcp('http'));\nbrowser.on('serviceUp', service => {\n  console.log(\"service up: \", service);\n});\nbrowser.on('serviceDown', service => {\n  console.log(\"service down: \", service);\n});\nbrowser.start();\n\n// discover all available service types\nconst all_the_types = mdns.browseThemAll(); // all_the_types is just another browser...\n```\n\n## Installation\n\nOn Linux and other systems using the avahi daemon the avahi dns_sd compat library and its header files are required.  On debianesque systems the package name is `libavahi-compat-libdnssd-dev`, on fedoraesque systems the package is `avahi-compat-libdns_sd-devel`.  On other platforms Apple's [mDNSResponder](http://opensource.apple.com/tarballs/mDNSResponder/) is recommended. Care should be taken not to install more than one mDNS stack on a system.\n\nOn Windows you are going to need Apples \"Bonjour SDK for Windows\". You can download it either from [Apple](https://developer.apple.com/download/more/?=Bonjour%20SDK%20for%20Windows) (registration required) or various unofficial sources. Take your pick. After installing the SDK restart your computer and make sure the `BONJOUR_SDK_HOME` environment variable is set. You'll also need a compiler. Microsoft Visual Studio Express will do. On Windows node >=0.7.9 is required.\n\nmdns is available as a npm package:\n\n```sh\nnpm install mdns\n```\n\nIf you want to play with the latest source code, here is a more manual approach:\n\n```sh\ngit clone http://github.com/agnat/node_mdns\ncd node_mdns\nnpm link && npm test\n```\n\nIn case you want to run or even publish your package using the development version of mdns you may set the version field to a tarball URL:\n\n```json\n{ \"name\": \"discomvobulator\"\n, \"version\": \"0.0.1\"\n, \"description\": \"covers all your discomvobulation needs\"\n, \"dependencies\":\n  { \"mdns\": \"https://github.com/agnat/node_mdns/tarball/master\"\n  }\n}\n```\n\n## Documentation\n\nSee the [user guide](http://agnat.github.com/node_mdns/user_guide.html).\n\n## Contributors\n\nIn random order:\n\n* Orlando Vazquez ([orlandov](https://github.com/orlandov))\n* Ryan Dahl ([ry](https://github.com/ry))\n* Dominic Tarr ([dominictarr](https://github.com/dominictarr))\n* Emil Stenqvist ([emilisto](https://github.com/emilisto))\n* Toby Ealden ([TobyEalden](https://github.com/TobyEalden))\n* Ron Korving ([ronkorving](https://github.com/ronkorving))\n* Don Park ([donpark](https://github.com/donpark))\n* Cong Liu ([ghostoy](https://github.com/ghostoy))\n* Tian Zhang ([KhaosT](https://github.com/KhaosT))\n\nYour name is missing on the list? Shame on me. Please open an issue.\n\n## Bugs and Contributions\n\nIf you find a bug, please report it using the [issue tracker](http://github.com/agnat/node_mdns/issues).\n","publish_time":1605572016409,"_cnpm_publish_time":1605572016409,"dist-tags":{"latest":"2.7.2"}}