
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
capacitor-zeroconf
Advanced tools
Capacitor ZeroConf plugin
This plugin allows you to browse and publish ZeroConf/Bonjour/mDNS services from applications developed using Ionic's Capacitor.
This is not a background service. When the cordova view is destroyed/terminated, publish and watch operations are stopped.
Android, iOS and Electron platforms are supported.
The has been ported from Cordova ZeroConf Plugin.
npm install capacitor-zeroconf
npx cap sync
or
yarn add capacitor-zeroconf
yarn cap sync
addListener('discover', ...)getHostname()register(...)unregister(...)stop()watch(...)unwatch(...)close()addListener(eventName: 'discover', listenerFunc: (result: ZeroConfWatchResult) => void) => Promise<PluginListenerHandle>
| Param | Type |
|---|---|
eventName | 'discover' |
listenerFunc | (result: ZeroConfWatchResult) => void |
Returns: Promise<PluginListenerHandle>
getHostname() => Promise<{ hostname: string; }>
Returns: Promise<{ hostname: string; }>
register(request: ZeroConfRegisterRequest) => Promise<void>
| Param | Type |
|---|---|
request | ZeroConfRegisterRequest |
unregister(request: ZeroConfUnregisterRequest) => Promise<void>
| Param | Type |
|---|---|
request | ZeroConfUnregisterRequest |
stop() => Promise<void>
watch(request: ZeroConfWatchRequest, callback?: ZeroConfWatchCallback | undefined) => Promise<CallbackID>
| Param | Type |
|---|---|
request | ZeroConfWatchRequest |
callback | ZeroConfWatchCallback |
Returns: Promise<string>
unwatch(request: ZeroConfUnwatchRequest) => Promise<void>
| Param | Type |
|---|---|
request | ZeroConfWatchRequest |
close() => Promise<void>
| Prop | Type |
|---|---|
remove | () => Promise<void> |
| Prop | Type |
|---|---|
domain | string |
type | string |
name | string |
port | number |
hostname | string |
ipv4Addresses | string[] |
ipv6Addresses | string[] |
txtRecord | { [key: string]: string; } |
| Prop | Type |
|---|---|
port | number |
props | { [key: string]: string; } |
| Prop | Type |
|---|---|
name | string |
| Prop | Type |
|---|---|
type | string |
domain | string |
{ action: ZeroConfWatchAction; service: ZeroConfService; }
'added' | 'removed' | 'resolved'
(event: ZeroConfWatchResult): void
string
FAQs
Capacitor ZeroConf plugin
The npm package capacitor-zeroconf receives a total of 75 weekly downloads. As such, capacitor-zeroconf popularity was classified as not popular.
We found that capacitor-zeroconf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.