Deprecate this package and tell users to use bonjour-service instead
This package is unmaintained and has a number of outstanding issues that are unlikely to be addressed.
~~After doing research I believe @homebridge/ciao is a suitable - if not much improved - replacement. Sadly when searching bonjour on npm it does not come up so I think users are largely unaware that there is a much better alternative out there. For comparison, the bonjour package has 8.4M downloads per week on npmjs.com whereas ciao has 10-20k.~~
If nothing else, this issue will give some visibility when users of this package come to the project's issue tracker looking for answers.
I see another user has suggested bonjour-service as an alternative in #69 as well.
EDIT: as @Lesik mentioned in the comment, bonjour-service is a better solution and nearly a drop-in replacement.
thank you for this tip - homebridge/ciao work's like a charm...thought i went mad because after 3 years this package isn't working.
For anybody else stumbling upon this, @homebridge/ciao is not a full replacement for bonjour, as it does not support service discovery.
The other library from #69, bonjour-service, is a better replacement for that use case. It has a very similar API to bonjour, is semi-actively maintained and written in TypeScript.