{"id":21331170,"url":"https://github.com/netbeast/react-native-mdns-js","last_synced_at":"2025-03-16T00:42:04.185Z","repository":{"id":147464833,"uuid":"98452999","full_name":"netbeast/react-native-mdns-js","owner":"netbeast","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-26T19:27:09.000Z","size":247,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-22T13:46:24.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netbeast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T18:20:13.000Z","updated_at":"2017-12-21T04:35:08.000Z","dependencies_parsed_at":"2023-07-24T18:30:44.252Z","dependency_job_id":null,"html_url":"https://github.com/netbeast/react-native-mdns-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-mdns-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-mdns-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-mdns-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbeast%2Freact-native-mdns-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netbeast","download_url":"https://codeload.github.com/netbeast/react-native-mdns-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809848,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T22:29:46.952Z","updated_at":"2025-03-16T00:42:04.147Z","avatar_url":"https://github.com/netbeast.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"mDNS-js\n==========\n\n[![Build Status](https://travis-ci.org/mdns-js/node-mdns-js.svg?branch=master)](https://travis-ci.org/mdns-js/node-mdns-js)\n\nPure JavaScript/NodeJS mDNS discovery implementation.\nIt's definitely not a full implementation at the current\nstate and it will NOT work in the browser. \n\nThe starting inspiration came from\nhttps://github.com/GoogleChrome/chrome-app-samples/tree/master/mdns-browser\nbut adapted for node. It's not much left of that now though.\n\n__NEW LOCATION__\n\nThis project was moved into it's own organisation. Please update any git remotes you might have pointing here.\n\n    git remote set-url origin https://github.com/mdns-js/node-mdns-js.git\n\nInstall by\n\n    npm install mdns-js\n\nIf you are running node version \u003c 4.1 you will have to use a version of this library that is below\nversion 0.5.0\n\nFuture\n------\nIt would be great to have a full implementation of mDSN + DNS-SD in pure JS but\nprogress will be slow unless someone is willing to pitch in with\npull requests, specifications for wanted functions etc.\nAlso, as you should avoid to have multiple mDNS stacks on a system this\nmight clash with stuff like avahi and bonjour.\n\n\nexample\n-------\n\n```javascript\nvar mdns = require('mdns-js');\n//if you have another mdns daemon running, like avahi or bonjour, uncomment following line\n//mdns.excludeInterface('0.0.0.0');\n\nvar browser = mdns.createBrowser();\n\nbrowser.on('ready', function () {\n    browser.discover(); \n});\n\nbrowser.on('update', function (data) {\n    console.log('data:', data);\n});\n```\n\nReporting issues\n----------------\nPlease report any issues at https://github.com/mdns-js/node-mdns-js/issues\n\nBut please check if there is a similar issue already reported and\n__make a note of which OS__ and OS version you are running.\nThere is some issues that turn up only on Windows 8.1 but not in \nWindows 7 for example. And there are differences between Mac and \nWindows so... __please__...\n\nAnother important thing to know if there is another mdns service\nrunning on the same machine. This would be for example Bonjour and Avahi.\n\n\nDebugging\n---------\nThis library is using the [debug](https://github.com/visionmedia/debug) \nmodule from TJ Holowaychuk and can be used like this.\n\n```bash\nDEBUG=mdns:* node examples/simple.js\n```\n\nThis will spit out LOTS of information that might be useful.\nIf you have some issues with something where you might want\nto communicate the contents of a packet (ie create an issue on github)\nyou could limit the debug information to just that.\n\n```bash\nDEBUG=mdns:browser:packet node examples/simple.js\n```\n\nContributing\n------------\nPull-request will be gladly accepted.\n\nIf possible any api should be as close match to the api of node-mdns but\nbe pragmatic. Look at issue #5.\n\nPlease run any existing tests with\n\n    npm test\n\nand preferably add more tests.\n\n\nBefore creating a pull-request please run \n\n    npm run lint \n\nThis will run jshint as well as jscs that will do some basic syntax\nand code style checks.\nFix any issues befor committing and creating a pull-request.\n\nLook at the .eslintrc file for the details.\n\n\nLicense\n=======\nApache 2.0. See LICENSE file.\n\n\n\nReferences\n==========\n\n* https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/mdns-browser\n* http://en.wikipedia.org/wiki/Multicast_DNS\n* http://en.wikipedia.org/wiki/Zero_configuration_networking#Service_discovery\n* RFC 6762 - mDNS - http://tools.ietf.org/html/rfc6762\n* RFC 6763 - DNS Based Service Discovery (DNS-SD) - http://tools.ietf.org/html/rfc6763\n* http://www.tcpipguide.com/free/t_DNSMessageHeaderandQuestionSectionFormat.htm\n\n\nContributors\n============\n\n* James Sigurðarson, @jamiees2\n* Stefan Sauer, @ensonic\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-mdns-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetbeast%2Freact-native-mdns-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbeast%2Freact-native-mdns-js/lists"}