🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@homebridge/ciao

Package Overview
Dependencies
Maintainers
6
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebridge/ciao

![NPM-Version](https://badgen.net/npm/v/@homebridge/ciao) ![NPM-Downloads](https://badgen.net/npm/dt/@homebridge/ciao) ![Node-CI](https://github.com/homebridge/ciao/workflows/Node-CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/homebri

Source
npmnpm
Version
1.0.0-beta.0
Version published
Weekly downloads
25K
15.09%
Maintainers
6
Weekly downloads
 
Created
Source

ciao

NPM-Version NPM-Downloads Node-CI Coverage Status

ciao is a RFC 6763 and compliant dns-sd library, advertised on multicast dns (RFC 6762).

It is used in HAP-NodeJS and is the successor of the bonjour-hap library, aiming to be more robust, more maintainable and RFC compliant.

ciao features a multicast dns responder to publish service on the local network. It will gain browser functionality in the future to also discover existing services on the local network.

The library is currently still under heavy development.

Installation

npm install @homebridge/ciao

Usage

const ciao = require("@homebridge/ciao");


const responder = ciao.createResponder();
responder.start(); // this step will not be needed in the future

// advertise an HTTP server on port 3000
responder.advertiseService({ // method returns a Promise, so you can wait until it is published
    name: 'My Web Server',
    type: 'http',
    port: 3000,
});

Keywords

bonjour

FAQs

Package last updated on 06 May 2020

Did you know?

Socket

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.

Install

Related posts