{"_id":"@airpie/mdns","_rev":"7-385dc9a9ab790d529c7291abf14036fa","name":"@airpie/mdns","dist-tags":{"latest":"0.0.19"},"versions":{"0.0.1":{"name":"@airpie/mdns","version":"0.0.1","description":"MDNS Protocol for AirPie","main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn build:clean && yarn compile:types && yarn dev && node --inspect lib/index.js","dev":"webpack --mode development","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","compile:types":"tsc -b ./tsconfig-types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --mode production"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"dependencies":{"@airpie/common-events":"^0.0.7","@airpie/common-misc":"^0.0.1","@airpie/common-network":"^0.0.2","@airpie/common-store":"^0.0.2","dgram":"^1.0.1","os":"^0.1.2"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","_id":"@airpie/mdns@0.0.1","gitHead":"ec9655d6ff8046fc386e6a6176833bbd89e2d722","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-E/vL3mREmBuHuc7MoEvxmXsnRaFYsehvOtD8pJ/kN3Uzbk/v4Hqg9OC+hSggFnALTmVAi7+W3NqKjxQt7LyvaA==","shasum":"62c63e3416b06bd5e187d11eea9fb94ea5dbc561","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.1.tgz","fileCount":122,"unpackedSize":376674,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhp7HsNoqj800v+w8MiE/OEhPnb/5VyfyB7KZQPS3gCAiEAjhvBEpUfy5AliAXUBXx9lxu8iDARfLxYlqRxuAPtBr0="}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"directories":{},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.1_1701312175042_0.5312019306873799"},"_hasShrinkwrap":false},"0.0.9":{"name":"@airpie/mdns","version":"0.0.9","description":"MDNS Protocol for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn build:clean && yarn compile:types && yarn dev && node --inspect lib/index.js","dev":"webpack --mode development","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"jest --coverage","compile:types":"tsc -b ./tsconfig-types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --mode production"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"dependencies":{"@airpie/common-events":"^0.0.10","@airpie/common-misc":"^0.0.10","@airpie/common-network":"^0.0.10","@airpie/common-store":"^0.0.2","dgram":"^1.0.1","os":"^0.1.2"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","_id":"@airpie/mdns@0.0.9","gitHead":"ec9655d6ff8046fc386e6a6176833bbd89e2d722","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-PH0QbEB4gHkybzdQxgbrs/s4erkpSSgBVCR9RqiK5vfq4m+5RCf72LABjei3otCNrnIoRVVeScgJG8HfIoL5Eg==","shasum":"79d617376b1a0aadd3efad9b0699b68f59d6b9f6","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.9.tgz","fileCount":146,"unpackedSize":493181,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOUoBKEJvYFEWmLAWANhNrNjtZoDTSa2XwZrlCH0DBSwIhALzbICdqHatpcGbyMLyNkkdumKKwxmbVTNTV/4E4bjeG"}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"directories":{},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.9_1701372869826_0.7641464918935374"},"_hasShrinkwrap":false},"0.0.10":{"name":"@airpie/mdns","version":"0.0.10","description":"MDNS Protocol for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn build:clean && yarn compile:types && yarn dev && node --inspect lib/index.js","dev":"webpack --mode development","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"jest --coverage","compile:types":"tsc -b ./tsconfig-types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --mode production"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"dependencies":{"@airpie/common-events":"^0.0.10","@airpie/common-misc":"^0.0.10","@airpie/common-network":"^0.0.10","@airpie/common-store":"^0.0.2","dgram":"^1.0.1","os":"^0.1.2"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","_id":"@airpie/mdns@0.0.10","gitHead":"ec9655d6ff8046fc386e6a6176833bbd89e2d722","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-EiFqqPEWk6EV1hY4zBLHRAMLjVAFSqb/LtPTIE3z5ltnd53O+zvvccGra24/7Gv6g8DgwBhI/tNg0sfPjoFWog==","shasum":"c46558bd6f3a77a1a61d8d7217be2725ceb8ff1a","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.10.tgz","fileCount":146,"unpackedSize":21922688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb5xQSuoGq3rLK/IkwQyuGf3fBg2ZaykGVQxKDKfwkYQIhAIxD6dVMpaVNyHXmqtYVyC8ClcQccj4TS2wgbVrQJJau"}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"directories":{},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.10_1701373063680_0.9528704379574491"},"_hasShrinkwrap":false},"0.0.14":{"name":"@airpie/mdns","version":"0.0.14","description":"MDNS for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","exports":"./lib/index.js","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn dev","dev":"webpack --config webpack.dev.config.js -w","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"jest --coverage","compile:types":"tsc -b ./tsconfig.types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --config webpack.prod.config.js"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1","webpack-merge":"^5.10.0"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","dependencies":{"@airpie/common-events":"^0.0.14","@airpie/common-misc":"^0.0.13","@airpie/common-network":"^0.0.14","@airpie/common-store":"^0.0.14"},"_id":"@airpie/mdns@0.0.14","gitHead":"ec9655d6ff8046fc386e6a6176833bbd89e2d722","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-rWocR9wvSOGOivbxtvTwrDeGRr5HFScymdI6snOywuceMYBYFDPDgPdwxRYXPvHVSQtdirtytJiv4ujN3bFLXQ==","shasum":"eb47b6aa16b30a17a0124f47dea5d968ddb4ee38","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.14.tgz","fileCount":85,"unpackedSize":19936872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAPCae3865HVyhArrrp5ZrHR+v9NZNYEi9yVvvfr0SdQIgUj4o1PgJ7mU7OqQUF9io5ayxjVnLnoGUf4JBGV5LapY="}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.14_1701483838193_0.634140272024688"},"_hasShrinkwrap":false},"0.0.15":{"name":"@airpie/mdns","version":"0.0.15","description":"MDNS for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","exports":"./lib/index.js","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn dev","dev":"webpack --config webpack.dev.config.js -w","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"jest --coverage","compile:types":"tsc -b ./tsconfig.types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --config webpack.prod.config.js"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1","webpack-merge":"^5.10.0"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","dependencies":{"@airpie/common-events":"^0.0.14","@airpie/common-misc":"^0.0.13","@airpie/common-network":"^0.0.14","@airpie/common-store":"^0.0.14"},"_id":"@airpie/mdns@0.0.15","gitHead":"234a55ace8b0824eaef7db7525be5a64d0e7c5a3","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-GtN3Wf2xYLXpO7Eg9MW389Qw8J+hWJjrhfbre5AQAho/ddCWHQ8/AKaOmOyzlBXXFhLWdhPptwaUkChjcUjOvg==","shasum":"561b7949eb9420b5a699a747daca1af53a26588f","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.15.tgz","fileCount":3,"unpackedSize":3422,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxamQu34wcF6eSVJze6xVNYaM+4Vef0ceHkKsXE8RfkAiBbhb+fHf4InyBDIxcPQzcxh8odG6vk9IjMBJjp44XzoQ=="}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.15_1701797866713_0.1950020839983868"},"_hasShrinkwrap":false},"0.0.16":{"name":"@airpie/mdns","version":"0.0.16","description":"MDNS for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","exports":"./lib/index.js","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn dev","dev":"webpack --config webpack.dev.config.js -w","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"jest --coverage","compile:types":"tsc -b ./tsconfig.types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --config webpack.prod.config.js"},"devDependencies":{"@types/jest":"^29.5.4","@types/node":"^20.10.1","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","husky":"^8.0.3","jest":"^29.6.4","npm-run-all":"^4.1.5","prettier":"^3.0.0","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1","webpack-merge":"^5.10.0"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","dependencies":{"@airpie/common-events":"^0.0.14","@airpie/common-misc":"^0.0.13","@airpie/common-network":"^0.0.14","@airpie/common-store":"^0.0.14"},"_id":"@airpie/mdns@0.0.16","gitHead":"9f88bf558786ca2ccad58f83155c40cc68d2f627","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-9Mq4k+nDZG9+KlutoV8FXzlJwqxX03K4TvY88dd54KYEc8fNlvmgmGioqWv8+j4Fbyz88djqRniHTZeeKSu1mg==","shasum":"87f247aae6ad85817bd9cb3140a82c91b66cecdd","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.16.tgz","fileCount":3,"unpackedSize":3932,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPtxYdvwVZdSLTskEx5GFrOcKwLF5GBl4VahNKyWcafAiBgKnTrs4QB6xRxVMHge0leeAn/FymVCAm0712phEuvNQ=="}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.16_1701798244708_0.11338415897816323"},"_hasShrinkwrap":false},"0.0.19":{"name":"@airpie/mdns","version":"0.0.19","description":"MDNS for AirPie","main":"lib/index.js","types":"lib/index.d.ts","type":"module","exports":"./lib/index.js","author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"license":"MIT","scripts":{"start":"yarn dev","dev":"webpack --config webpack.dev.config.js -w","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","test":"NODE_OPTIONS=--experimental-vm-modules jest --coverage","test:badges":"jest-coverage-badges --output './badges'","test:prepare-md":"rm -rf scripts/build && tsc -b ./tsconfig.scripts.json && node ./scripts/build/coverageSummaryForMD.js","test:complete":"yarn test & yarn test:badges & yarn test:prepare-md","compile:types":"tsc -b ./tsconfig.types.json","build:clean":"rm -rf ./lib","build":"npm-run-all build:clean compile:types && webpack --config webpack.prod.config.js"},"devDependencies":{"@types/express":"^4.17.21","@types/jest":"^29.5.4","@types/node":"^20.10.3","@types/puppeteer":"^7.0.4","@typescript-eslint/eslint-plugin":"^6.2.0","@typescript-eslint/parser":"^6.2.0","eslint":"^8.45.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^5.0.0","express":"^4.18.2","husky":"^8.0.3","jest":"^29.6.4","jest-coverage-badges":"^1.1.2","jest-html-reporter":"^3.10.2","npm-run-all":"^4.1.5","prettier":"^3.0.0","puppeteer":"^21.5.2","source-map-loader":"^4.0.1","ts-jest":"^29.1.1","ts-loader":"^9.4.4","ts-node":"^10.9.1","typescript":"^5.1.6","webpack":"^5.88.2","webpack-bundle-analyzer":"^4.10.1","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1","webpack-merge":"^5.10.0"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"homepage":"https://github.com/atvilelas/airpie-mdns#readme","dependencies":{"@airpie/common-events":"^0.0.14","@airpie/common-misc":"^0.0.13","@airpie/common-network":"^0.0.14","@airpie/common-store":"^0.0.14"},"_id":"@airpie/mdns@0.0.19","gitHead":"79e9aa5b0c13e9b42b33513ada7684976b16edac","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-fezzL3XmgMZBUK2ppJRJT4RKq6ISPwGFHx1oP0DeUwjx7l0A3Lmp1jQTYOWsRK8LEusUlZXtsg4vhQAPxEjwGg==","shasum":"b318509cd834f2ae6248a0d61027c1b0072f288e","tarball":"https://registry.npmjs.org/@airpie/mdns/-/mdns-0.0.19.tgz","fileCount":92,"unpackedSize":20258383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAu4NZkxcuTZZHDTyaAm8512u2KSIJD406tYgr/kZzcAiBc9rQlgeSOrlP5J8U3wOJZTxLxpsyL1gpQ98pA/7zAEA=="}]},"_npmUser":{"name":"atvilelas","email":"atvilelas@gmail.com"},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdns_0.0.19_1701877803160_0.15504239967271105"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-30T02:42:55.041Z","0.0.1":"2023-11-30T02:42:55.319Z","modified":"2023-12-06T15:50:03.596Z","0.0.9":"2023-11-30T19:34:30.023Z","0.0.10":"2023-11-30T19:37:43.945Z","0.0.14":"2023-12-02T02:23:58.456Z","0.0.15":"2023-12-05T17:37:46.876Z","0.0.16":"2023-12-05T17:44:04.874Z","0.0.19":"2023-12-06T15:50:03.397Z"},"maintainers":[{"name":"atvilelas","email":"atvilelas@gmail.com"}],"description":"MDNS for AirPie","homepage":"https://github.com/atvilelas/airpie-mdns#readme","repository":{"type":"git","url":"git+https://github.com/atvilelas/airpie-mdns.git"},"author":{"name":"Andre Vilela","email":"atvilelas@gmail.com"},"bugs":{"url":"https://github.com/atvilelas/airpie-mdns/issues"},"license":"MIT","readme":"![alt text](./badges/badge-branches.svg)\n![alt text](./badges/badge-functions.svg)\n![alt text](./badges/badge-lines.svg)\n![alt text](./badges/badge-statements.svg)\n\n# A true full implementation of MDNS / DNS-SD / Zero conf\n\nThe goal with this is to have a full implementation of MDNS standarts for decoding and encoding in type script.\n\n# Install\n\n`yarn add @airpie/mdns`\n\n# Usage\n\n## start\n\nStart will create a socket using a random port.\nThis is event driven. Whenever an event is triggered a global event will be fired along side with the specific event.\n\nAn event with packet will trigger a new event with the packt decoded.\n\n## send\n\nThis sends a query.\n\n## Example\n\n```javascript\nimport { start, events as mdnsEvents, send, PACKET_RECEIVED } from '@airpie/mdns';\n\nconst questions = [\n    `_airplay_._tcp.local`,\n  ].map((q) => ({\n    name: q,\n    type: 0xff,\n    class: 0x8001,\n  }));\n\nconst TRANSACTION_ID = 0x1111; // any number that would identify queries and responses.\nconst encodedQuery = encode.header(questions, TRANSACTION_ID);\nsend(encodedQuery);\n\nmdnsEvents.on(PACKET_RECEIVED, (decodedPacket: DecodedPacket) => {\n  console.log(decodedPacket);\n});\n```\n\n# Documentation\n\nLots of documentation is necessary specifically around\n\n- Store & State Management\n- Event management\n- Encoding & Decoding\n- Better logging\n\n# Tests summary\n\n<picture>\n  <img alt=\"Image Alt Text\" src=\"./test-report.svg\">\n</picture>\n\nThe idea is to have a close as possible to 100% coverage (I know overrated), but because there are some many nuances from the protocol definition it's better to have all basis covered\n\n# Goal\n\nThis is written from the ground up. Many libraries found were incomplete, lacked documentation and/or reference to resources. This is to start clean and make it as straight forward as possible.\n\n# Contributing\n\nPlease PRs are welcome, and emails as well. Feel free to contact me to chat about this.\n\n# References\n\nComing soon\n","readmeFilename":"README.md"}