{"_id":"sterfive-bonjour-service","_rev":"4-1d97577286de468b9ffb2d4903b899b6","name":"sterfive-bonjour-service","dist-tags":{"latest":"1.1.4"},"versions":{"1.1.0":{"name":"sterfive-bonjour-service","version":"1.1.0","description":"A Bonjour/Zeroconf implementation in TypeScript","main":"./dist/index.js","dependencies":{"@types/multicast-dns":"^7.2.1","array-flatten":"^2.1.2","dns-equal":"^1.0.0","fast-deep-equal":"^3.1.3","multicast-dns":"^7.2.4"},"devDependencies":{"@types/node":"^14.14.35","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","after-all":"^2.0.2","eslint":"^8.15.0","standard":"^17.0.0","tape":"^5.2.2","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"scripts":{"test":"standard --fix && tape test/*.js","build":"tsc --removeComments true","dev":"ts-node-dev --respawn --transpile-only ./src/index.ts","example:simple":"node examples/simple"},"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"license":"MIT","bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"homepage":"https://github.com/onlxltd/bonjour-service","types":"./dist/index.d.ts","gitHead":"58347da082583e4ccb09283cd01f0d42a668f9b5","_id":"sterfive-bonjour-service@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.7.0","dist":{"integrity":"sha512-K5nd2qZ38Q1fQlNeNn8y7KwuE9naSbXaQJcF70OCxeykpETU9cy+pIeAuJaUs3vNicv5Dil3Sn8jJ7Rk8p66xQ==","shasum":"9b31b13a841dd21f694d6277f4a15ea5f334ddcb","tarball":"https://registry.npmjs.org/sterfive-bonjour-service/-/sterfive-bonjour-service-1.1.0.tgz","fileCount":57,"unpackedSize":254367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw31ipFi1/JPtNNqY6CrhM4ywN1DE8hJWizKjOeXqxuAIhAMuo51y6uxmHylVQxfbqdAVvVBGPZFdR3jiJYsfi1GT/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifWLIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUGQ/+M3kJt/aJVar1w/SUuEczVkktcFmaXRud7xWY2qbfqkkuQUpt\r\nM4sczy/T9B1AsEVIepKhks51w+E0kcaz4D6K5GdLY1hqRHymKn0MuAM/UNL0\r\nt8wfOsWH9efnbEvlVbVQ4KYNqOLbXSFC1AnMtzjkSTCqYEFGCyMcHvryTik0\r\nBspjo64HMrm0lOXmbv57cSlo/suu25gQETGuQm90QORUYxtLUSXoFbW/ccAt\r\nCsaZ0r4zM1nxRZt3K8ycWQsqXiYeyub1+E7oWXQ66zsxQ0xByPwNq+y6A+PT\r\nMBEUhMdvTUA2kHBm0o5LFf7izxs1n75MndGs8aCmJbCczZzz7fZr0VPmlWoS\r\nmnN6q9gr56BQ6KU3cRjAtxDzN9tURNMbIn0rDtLRZAJhZkvf7yFJr6btWC0X\r\n6tGJ0ne3EMmBUiz1yearlA6aArmdr/azXrLit1o0J0Uyqp6m2RiyLdXxSIvS\r\n6lpPMIJiXP9oItYd4wVD1ep4ettKiotd5zAlsEjd4mDjM3XDWBm9e/WOk8AY\r\n6bQqQX1v2DUOXntlR1yCnWiLR7vRTGHGXRnWmlAFpwBToxfe7gihyJ/Osh1o\r\n5Gie+JfsY1lFEQBOiBUWQPe/hEHJHdwJmonUcJvmvxzgRoBWcbNrkT3IH5e1\r\nmTFBE7/alnJRU0vhrVcpq8b0thSjmZc2igs=\r\n=x6ek\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erossignon","email":"etienne.rossignon@gadz.org"},"directories":{},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sterfive-bonjour-service_1.1.0_1652384456342_0.5715261418774109"},"_hasShrinkwrap":false},"1.1.1":{"name":"sterfive-bonjour-service","version":"1.1.1","description":"A Bonjour/Zeroconf implementation in TypeScript","main":"./dist/index.js","dependencies":{"@types/multicast-dns":"^7.2.1","array-flatten":"^2.1.2","dns-equal":"^1.0.0","fast-deep-equal":"^3.1.3","multicast-dns":"^7.2.4"},"devDependencies":{"@types/node":"^14.14.35","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","after-all":"^2.0.2","eslint":"^8.15.0","standard":"^17.0.0","tape":"^5.2.2","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"scripts":{"test":"standard --fix && tape test/*.js","build":"tsc --removeComments true","dev":"ts-node-dev --respawn --transpile-only ./src/index.ts","example:simple":"node examples/simple"},"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"license":"MIT","bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"homepage":"https://github.com/onlxltd/bonjour-service","types":"./dist/index.d.ts","gitHead":"e1c7f34223593acdd295715b889f3237fd25345f","_id":"sterfive-bonjour-service@1.1.1","_nodeVersion":"16.13.0","_npmVersion":"8.7.0","dist":{"integrity":"sha512-E9B3r2v7cYes+OsZ/US0F+uEzT+mk91JDE29Na9cDkQVJxvplgosCwxSA6GlHJcHnODh0iISf9uyl8qv+pq7ZQ==","shasum":"3f4b31f16d6447eb28a2b3086da93830148276ff","tarball":"https://registry.npmjs.org/sterfive-bonjour-service/-/sterfive-bonjour-service-1.1.1.tgz","fileCount":34,"unpackedSize":99578,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAty9pFNREQ9Ib+0zBCUmyr/BVZkQoQtAjDoBv8QhiCAiEA7FkEpGOETxeF46txigKwWVLCOirWy0c+u62aSIy7g+Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifWbpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCOw//TKAVP6o67TUsqqYoAX9LUYVbSV/tZovXRQkY2Y6i6qMrkj0p\r\n6ZA5uc7z1Dzko0Ubi1vJC3TGeqnPD6DbMr4jwaJzgNZG1WbBGYSjMcLCnszT\r\nzpae1HElG5tMc5a2umRKweivV/j0z3MgGmTky9CdQMlO3JY0McwZxCCyEiEM\r\nKlHhrJNjeR2S1KeWoTKqb9MgPgcUBT2zaE5fazKGn938ukFa/GPtleiaSUp2\r\npGAuONxBFYyuBvuybMVX09aL5AQg9FED/dHiYTf7W5i2G+ZjjCHcvMzQtO+W\r\n1vfDozFQtCufZDgORI/f+RrezwgNLVCGhAdhb4JznRAyn0IMGm+yuo/gWgL6\r\nmkEwKq8KZLjqCKx3hkHBD71XAgp1R042LN8P1LBayQYtKusk5uL9q3am2WbE\r\nvUdek6at2IWGG8N+I4mcCcCchP0l4adLLPjKaEpq+qb+xYL1uzGtSPGRcbfm\r\n4NiKrmVVjg5l5NZJtYhymWJueh8REc0+lN9ZJiffci7qbgcAoRNW9IkY0/io\r\nDVYn68egUMcxGNBM9OsAqBnKc0g97A5HUxrfoueVkpgK1R+IpHaE9jPKx9zK\r\nulWbVQS2MamEUJT5k6BlhPXlKi8UNHafIWH9oNPiHPxGfOAqE8NxOafYAAsT\r\nx0v7HmBx09yrPEbXr74aFg1UGIig9kOi2Kw=\r\n=YTBU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erossignon","email":"etienne.rossignon@gadz.org"},"directories":{},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sterfive-bonjour-service_1.1.1_1652385513308_0.46818503279947254"},"_hasShrinkwrap":false},"1.1.2":{"name":"sterfive-bonjour-service","version":"1.1.2","description":"A Bonjour/Zeroconf implementation in TypeScript","main":"./dist/index.js","dependencies":{"@types/multicast-dns":"^7.2.1","array-flatten":"^2.1.2","dns-equal":"^1.0.0","fast-deep-equal":"^3.1.3","multicast-dns":"^7.2.4"},"devDependencies":{"@types/node":"^14.14.35","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","after-all":"^2.0.2","eslint":"^8.15.0","standard":"^17.0.0","tape":"^5.2.2","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"scripts":{"test":"standard --fix && tape test/*.js","build":"tsc --removeComments true","dev":"ts-node-dev --respawn --transpile-only ./src/index.ts","example:simple":"node examples/simple"},"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"license":"MIT","bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"homepage":"https://github.com/onlxltd/bonjour-service","types":"./dist/index.d.ts","gitHead":"07bc8c3830e244a665baf02751f635c5aa926bfb","_id":"sterfive-bonjour-service@1.1.2","_nodeVersion":"16.13.0","_npmVersion":"8.7.0","dist":{"integrity":"sha512-OX95zgJxeWw/Tt4/LrZVr75ocwPGjWE1rQGk6q/hvNo3895ff3HB3NEa7lwPAnw73yHP6x5KfES2zY7l9incIA==","shasum":"f827411295d94fe095b8ab16eb860638ec05d2e3","tarball":"https://registry.npmjs.org/sterfive-bonjour-service/-/sterfive-bonjour-service-1.1.2.tgz","fileCount":34,"unpackedSize":99578,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKDjhxlhMQIGUQY7OSrJCe4u729s9Uk0EzHSNl0vAgiAiEA4GMygCt4zjPCnHePJZ5xrynrM/mz+ymt0HXoY2Ty+Vc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifWetACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPLg//aiHK9HSjA7Ls34Sp0I3I7J0iv2b7V7mBbkD3Q/yG7oOLoZ1x\r\nApNR2xKr+SIxnsaEYFma5cSoorcUj6KPHM68MBh3IJ44yC7DoI7lYPeAdtlY\r\nD0r85NJNUF3Ok+in3/qf4SqBgph5Vn5LJzurku5jKvQqgtoUatm37Fr+K3WV\r\nsAauKZpasj1+7qTO2wwIt6lBB3zOJwPM7VwKnWlxWg+bxur1Y5Kmu/jgcNEz\r\nQXWt/le6/x6uozLkN/fCXnLmWUSORoMRw4vjopZNkvXVZtDgRJ+D9//UFg96\r\n5Y2/p70NvyNkUfFWtX6KbUDx4TQQst/1fuSYyzsA+moN5m/gG3vrYDrz4alO\r\nRCRSYgxxVcoCMvDWroa0xTV9zjCf5DTfFjwuzd7rHJRbv2yvhdoi/Moh5Isz\r\nXpeedKEGgx4cEnYzBpdtOS3Jlwz1pBI3STz73Xs2rv9gkofp/BIfw8MweiCK\r\nC/dvQEC4LtKPfOYBSRN7XPHW3Iiqq6wxs52PPRNgWSVNMNAgVjjKpAbhC4jp\r\n6Rxx4A7KcqlRDVPLNIw87RrZ5f3a6yX+ln7vE3Wxf9Nn1oa3I9iKUl2+Alpt\r\nIP3/8DNeaM+OoCJ5JuSQxiLEsforKY5dyIhVjLPPrWoL2uAA+zsVDqSbAnb8\r\nFHNLwK3LJTnIYf1ws6M3gKfBrMiac1visDQ=\r\n=MFOd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erossignon","email":"etienne.rossignon@gadz.org"},"directories":{},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sterfive-bonjour-service_1.1.2_1652385709238_0.8928182103771238"},"_hasShrinkwrap":false},"1.1.3":{"name":"sterfive-bonjour-service","version":"1.1.3","description":"A Bonjour/Zeroconf implementation in TypeScript","main":"./dist/index.js","dependencies":{"@types/multicast-dns":"^7.2.1","array-flatten":"^2.1.2","dns-equal":"^1.0.0","fast-deep-equal":"^3.1.3","multicast-dns":"^7.2.4"},"devDependencies":{"@types/node":"^14.14.35","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","after-all":"^2.0.2","eslint":"^8.15.0","standard":"^17.0.0","tape":"^5.2.2","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"scripts":{"test":"standard --fix && tape test/*.js","build":"tsc --removeComments true","dev":"ts-node-dev --respawn --transpile-only ./src/index.ts","example:simple":"node examples/simple"},"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"license":"MIT","bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"homepage":"https://github.com/onlxltd/bonjour-service","types":"./dist/index.d.ts","gitHead":"761ba864eb9c2c3ab504528263f65f10a32b82e8","_id":"sterfive-bonjour-service@1.1.3","_nodeVersion":"16.13.0","_npmVersion":"8.7.0","dist":{"integrity":"sha512-e1WV7Vq9BX4I4JHUvdQnSv3LVGtIns2CZz+pM8d8Xm7XrhpPezLBFucD1rVY5oBLCGcyaPLVJymL0ymgAlnysQ==","shasum":"3b59bec5e43c13bc9707887dd60c1da55b47e434","tarball":"https://registry.npmjs.org/sterfive-bonjour-service/-/sterfive-bonjour-service-1.1.3.tgz","fileCount":34,"unpackedSize":99711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICy1AP/YJuRcZyInL1icmLtQjNtSWpKbT1iDmqwGJXm7AiEAhEVmK9oP5fFA1wiUnQcZVWITCgsw073z7YRl4xO26uk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifWmVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr62xAAkK/4Lo2X4WCi46kBgXySO3hbGuHrpdUzxFxBBV3vT1Zu0QsF\r\ngZuURJrIcxXGlqSduW3RsT2Cmy54cgqxw7ZC4ouSPF9JUN7zXZGLWTsXlb6/\r\na8mHmkYOXfvNZJ/nXdEJmfOCGOT6ZECG3B5qkgWirg5QwaAfp6/NrsO2tb6u\r\n43BdE3B3IGR5f3/chcg8t1Uf6pe+buMb8/IUONguOjKJg2CfNjoBBvr+DvtS\r\nvzKplRrYw30BdhvH+GdbAcRRcew9+SVPydHXBbIfyfLtkZ3Hk5Be/J2voVmI\r\nT3/brhNfsPcX1xKXHZRkt64TEm+RV94Ufk5yw/Jjq/6ZMKjilYzCCIcKSAPN\r\nQN9S9WjxdY5mjX6oO4lJb0Qfx8WuG6JRttORli05LSblgncdgenzi6ooNowL\r\nZyN/taaX83rcJklqyvas1fx7nzV1hgBE/oig+zUxVxYaJEKZ8O3NpJVTQprW\r\nvHNLJ7azYjM83y0rePbFP/eATnFZYqQ7Ve2VLaWqn4vIVsceURCdx5DYWyQV\r\n1K7Q0Ladudu/IN3sXu5zZwA0zIyBLiqzQIVbC+6WIsrBxc9nps3p6BxIpJMv\r\nV/KdSoe20/Kxni07kST7spp+ZWM7NM1NM0VhXexBTf+2DtKBn9n1FZEgF5tA\r\ny6vFrLgpPIUEBthV5UZwBraNmE9bCUUsfHg=\r\n=Vvgy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erossignon","email":"etienne.rossignon@gadz.org"},"directories":{},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sterfive-bonjour-service_1.1.3_1652386196950_0.8479309056960227"},"_hasShrinkwrap":false},"1.1.4":{"name":"sterfive-bonjour-service","version":"1.1.4","description":"A Bonjour/Zeroconf implementation in TypeScript","main":"./dist/index.js","dependencies":{"@types/multicast-dns":"^7.2.1","array-flatten":"^2.1.2","dns-equal":"^1.0.0","fast-deep-equal":"^3.1.3","multicast-dns":"^7.2.4"},"devDependencies":{"@types/node":"^14.14.35","@typescript-eslint/eslint-plugin":"^5.22.0","@typescript-eslint/parser":"^5.22.0","after-all":"^2.0.2","eslint":"^8.15.0","standard":"^17.0.0","tape":"^5.2.2","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"scripts":{"test":"standard --fix && tape test/*.js","build":"tsc --removeComments true","dev":"ts-node-dev --respawn --transpile-only ./src/index.ts","example:simple":"node examples/simple"},"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"license":"MIT","bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"homepage":"https://github.com/onlxltd/bonjour-service","types":"./dist/index.d.ts","gitHead":"1dad4bd7c0f9aa38a5bd605a52575ebe88a72005","_id":"sterfive-bonjour-service@1.1.4","_nodeVersion":"16.13.0","_npmVersion":"8.7.0","dist":{"integrity":"sha512-QqDpnBb3KLD6ytdY2KSxsynw1jJAvzfOloQt83GQNXO6CGf84ZY+37tpOEZo1FzgUkFiVsL7pYyg71olDppI/w==","shasum":"0d369f6f273ac00a273f0a1714fe7a30aa5b975d","tarball":"https://registry.npmjs.org/sterfive-bonjour-service/-/sterfive-bonjour-service-1.1.4.tgz","fileCount":34,"unpackedSize":99797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICc6EHLx3XmreXO2higFjYsaBb2BkhJBIqOglQAGF8P3AiEA+TetMyswmQ3qHidmbpqd6sTXfCs3buNSGvv8yrFfnCI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifW7oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqP/A/8CWO8w1f2bSasCafGu9rOI9aFDxB3lmWSThgRBfjq63fX4b+v\r\n7Ogu3bhTtLvEOtM7y739dlZXk2FgdrHaz4wuTm8ElD7na0Q3twneStUC+YY4\r\nE1ylNWxFgGRilQhZxdDYMK8u4dLHma/kzrRYRmq3WECy7vKSZgpxD1bj4z+j\r\n2UliriyOamxTyXdXc9NHZoZu0IE18CAIz1fKQln2wMNlJR0MtruBLUhW4Lq2\r\nkToaIjUg8nztBUWdeIhtnr4J9qP529EY1/RgVCNFsNdlJErAz9L+juziPFFw\r\nhKUYBsJecXWuS394WqNiSE0paFUNR9ENhMM2qLkS/Ql+mtIygoUMkcOrl34N\r\nKvirEMPpm5i1btRMRrjtXhqYaPxay9llNTnunZ/gGUDRZQJKPz1sQhD/eLU6\r\nVqX6mWFAoTLt8hWgzuKoyh/78pmocWQEYW1+qai9A7+v0Ccys8Jac/9o++Pw\r\nxzrbFc0CNzazYJwB2wuQEk4UI09oJMRSRqtSfr8ArvqB62PIsKBCyp4nWE9h\r\n+iqjUhW4YvUBB4f12VTRrnRfydXaHL759emxSWa09vexNZLhhB89nOlUHUkK\r\n63c5Y116ZtMFdNmVDEb9gagkiIX5C4ji16QLP+T9a93hA/d0+eYrxiL1t4pC\r\nPJUJIoT2J827eM1Mzw8G686wWS7Ve2N+ZhE=\r\n=ZK1q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erossignon","email":"etienne.rossignon@gadz.org"},"directories":{},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sterfive-bonjour-service_1.1.4_1652387560133_0.09002144399965584"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-12T19:40:56.341Z","1.1.0":"2022-05-12T19:40:56.581Z","modified":"2022-05-12T20:32:40.349Z","1.1.1":"2022-05-12T19:58:33.441Z","1.1.2":"2022-05-12T20:01:49.444Z","1.1.3":"2022-05-12T20:09:57.151Z","1.1.4":"2022-05-12T20:32:40.244Z"},"maintainers":[{"name":"erossignon","email":"etienne.rossignon@gadz.org"}],"description":"A Bonjour/Zeroconf implementation in TypeScript","homepage":"https://github.com/onlxltd/bonjour-service","keywords":["bonjour","zeroconf","zero","configuration","mdns","dns","service","discovery","multicast","broadcast","dns-sd"],"repository":{"type":"git","url":"git+https://github.com/onlxltd/bonjour-service.git"},"author":{"name":"ON LX Lited","email":"team@onlx.ltd","url":"https://labs.onlx.ltd"},"bugs":{"url":"https://github.com/onlxltd/bonjour-service/issues"},"license":"MIT","readme":"# bonjour-service\r\n\r\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/onlxltd/bonjour-service/build?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/bonjour-service?style=flat-square) ![GitHub Release Date](https://img.shields.io/github/release-date/onlxltd/bonjour-service?style=flat-square) ![GitHub](https://img.shields.io/github/license/onlxltd/bonjour-service?style=flat-square) [![DeepScan grade](https://deepscan.io/api/teams/13435/projects/16430/branches/352351/badge/grade.svg?style=flat-square)](https://deepscan.io/dashboard#view=project&tid=13435&pid=16430&bid=352351)\r\n\r\nA Bonjour/Zeroconf protocol implementation in TypeScript. Publish\r\nservices on the local network or discover existing services using\r\nmulticast DNS.\r\n\r\nThis is a rewrite of the project Bonjour (https://github.com/watson/bonjour) into modern TypeScript.\r\n\r\n\r\n\r\n## Installation\r\nAdd to your project dependencies using Yarn or NPM.\r\n\r\n#### Install with Yarn\r\n```\r\nyarn add bonjour-service\r\n```\r\n#### Install with NPM\r\n```\r\nnpm install bonjour-service\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nimport Bonjour from 'bonjour-service'\r\n\r\nconst instance = new Bonjour()\r\n\r\n// advertise an HTTP server on port 3000\r\ninstance.publish({ name: 'My Web Server', type: 'http', port: 3000 })\r\n\r\n// browse for all http services\r\ninstance.find({ type: 'http' }, function (service) {\r\n  console.log('Found an HTTP server:', service)\r\n})\r\n```\r\n\r\n## API\r\n\r\n### Initializing\r\n\r\n```js\r\nvar instance = new Bonjour({ options }, errorCallback)\r\n```\r\n\r\nThe `options` are optional and will be used when initializing the\r\nunderlying multicast-dns server. For details see [the multicast-dns\r\ndocumentation](https://github.com/mafintosh/multicast-dns#mdns--multicastdnsoptions).\r\n\r\n`errorCallback` is an optional callback used to gracefully handle errors that would otherwise\r\ncrash the process. While not being strictly required, providing this is highly recommended\r\n\r\n### Publishing\r\n\r\n#### `var service = bonjour.publish(options)`\r\n\r\nPublishes a new service.\r\n\r\nOptions are:\r\n\r\n- `name` (string)\r\n- `host` (string, optional) - defaults to local hostname\r\n- `port` (number)\r\n- `type` (string)\r\n- `subtypes` (array of strings, optional)\r\n- `protocol` (string, optional) - `udp` or `tcp` (default)\r\n- `txt` (object, optional) - a key/value object to broadcast as the TXT\r\n  record\r\n\r\nIANA maintains a [list of official service types and port\r\nnumbers](http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml).\r\n\r\n#### `bonjour.unpublishAll([callback])`\r\n\r\nUnpublish all services. The optional `callback` will be called when the\r\nservices have been unpublished.\r\n\r\n#### `bonjour.destroy()`\r\n\r\nDestroy the mdns instance. Closes the udp socket.\r\n\r\n### Browser\r\n\r\n#### `var browser = bonjour.find(options[, onup])`\r\n\r\nListen for services advertised on the network. An optional callback can\r\nbe provided as the 2nd argument and will be added as an event listener\r\nfor the `up` event.\r\n\r\nOptions (all optional):\r\n\r\n- `type` (string)\r\n- `subtypes` (array of strings)\r\n- `protocol` (string) - defaults to `tcp`\r\n- `txt` (object) - passed into [dns-txt\r\n  module](https://github.com/watson/dns-txt) contructor. Set to `{\r\n  binary: true }` if you want to keep the TXT records in binary\r\n\r\n#### `var browser = bonjour.findOne(options[, callback])`\r\n\r\nListen for and call the `callback` with the first instance of a service\r\nmatching the `options`. If no `callback` is given, it's expected that\r\nyou listen for the `up` event. The returned `browser` will automatically\r\nstop it self after the first matching service.\r\n\r\nOptions are the same as given in the `browser.find` function.\r\n\r\n#### `Event: up`\r\n\r\nEmitted every time a new service is found that matches the browser.\r\n\r\n#### `Event: down`\r\n\r\nEmitted every time an existing service emmits a goodbye message.\r\n\r\n#### `browser.services()`\r\n\r\nAn array of services known by the browser to be online.\r\n\r\n#### `browser.start()`\r\n\r\nStart looking for matching services.\r\n\r\n#### `browser.stop()`\r\n\r\nStop looking for matching services.\r\n\r\n#### `browser.update()`\r\n\r\nBroadcast the query again.\r\n\r\n### Service\r\n\r\n#### `Event: up`\r\n\r\nEmitted when the service is up.\r\n\r\n#### `Event: error`\r\n\r\nEmitted if an error occurrs while publishing the service.\r\n\r\n#### `service.stop([callback])`\r\n\r\nUnpublish the service. The optional `callback` will be called when the\r\nservice have been unpublished.\r\n\r\n#### `service.start()`\r\n\r\nPublish the service.\r\n\r\n#### `service.name`\r\n\r\nThe name of the service, e.g. `Apple TV`.\r\n\r\n#### `service.type`\r\n\r\nThe type of the service, e.g. `http`.\r\n\r\n#### `service.subtypes`\r\n\r\nAn array of subtypes. Note that this property might be `null`.\r\n\r\n#### `service.protocol`\r\n\r\nThe protocol used by the service, e.g. `tcp`.\r\n\r\n#### `service.host`\r\n\r\nThe hostname or ip address where the service resides.\r\n\r\n#### `service.port`\r\n\r\nThe port on which the service listens, e.g. `5000`.\r\n\r\n#### `service.fqdn`\r\n\r\nThe fully qualified domain name of the service. E.g. if given the name\r\n`Foo Bar`, the type `http` and the protocol `tcp`, the `service.fqdn`\r\nproperty will be `Foo Bar._http._tcp.local`.\r\n\r\n#### `service.txt`\r\n\r\nThe TXT record advertised by the service (a key/value object). Note that\r\nthis property might be `null`.\r\n\r\n#### `service.published`\r\n\r\nA boolean indicating if the service is currently published.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}