Security News
OpenJS: “XZ Utils Cyberattack Likely Not an Isolated Incident”
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
node-upnp-ssdp
Advanced tools
Weekly downloads
Readme
Simple Service Discovery for Node 0.12, handling Upnp NOTIFY and M-SEARCH requests.
This is pretty much a rewrite of a library I forked https://github.com/bazwilliams/node-upnp-client the fork of which stopped working when I upgraded to Node 12. I decided to pare the library right down to the parts I was using, i.e. SSDP and rewrite those portions.
npm install node-upnp-ssdp
In the examples folder there are some example applications one of which shows a simple service discovery with a preset mSearch for Openhome Devices; the other shows simple service discover if the parameter is left unset, the search request is for all devices ssdp:all
.
If a device is found a DeviceFound
event is emitted.
Whenever the module is first used, it starts listening for SSDP broadcasts from other devices on your network, it will announce the following events:
ssdp:alive
ssdp:byebye
ssdp:update
In addition, the above events also emit events categorised by their notfication type. I.e. if you are only interested in Openhome playlist services with type urn:av-openhome-org:service:Playlist:1
. Then add the notification type after the event name you are interested in. For example:
ssdp.on('DeviceAvailable:urn:av-openhome-org:service:Playlist:1', console.log);
Openhome: http://www.openhome.org/wiki/Oh:Overview
Upnp Specs: http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
FAQs
Simple Service Discovery for Node 0.12, handling Upnp NOTIFY and M-SEARCH requests.
The npm package node-upnp-ssdp receives a total of 8 weekly downloads. As such, node-upnp-ssdp popularity was classified as not popular.
We found that node-upnp-ssdp demonstrated a not healthy version release cadence and project activity because the last version was released 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
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
Company News
Come meet the Socket team at BSidesSF and RSA! We're sponsoring several fun networking events and we would love to see you there.
Security News
OSI is starting a conversation aimed at removing the excuse of the SaaS loophole for companies navigating licensing and the complexities of doing business with open source.