New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

upnp-device

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upnp-device - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.npmignore

7

package.json
{
"name": "upnp-device",
"version": "0.0.2",
"version": "0.0.3",
"description": "Create UPnP devices in Node.js",

@@ -11,3 +11,3 @@ "keywords": [ "upnp" ],

"directories": { "lib": "./lib" },
"engines": { "node": "<= 0.4.12" },
"engines": { "node": ">=0.8.8" },
"dependencies": {

@@ -30,3 +30,4 @@ "async": "*",

"url": "git://github.com/jacobrask/node-upnp-device.git"
}
},
"contributors": ["Eelco Cramer"]
}

@@ -9,4 +9,3 @@ # UPnP Devices for Node.js

* Only implemented device specification is MediaServer:1
* MediaServer can only serve media from local file system
* And more...
* Only tested with audio

@@ -18,5 +17,4 @@

Note that you need Node 0.4.12. upnp-device is ___not___ compatible with Node 0.6.x due to some missing UDP features in 0.6.x. They are expected to be implemented fairly soon, and then upnp-device will be ported to 0.6.x.
You also need to install Redis, preferrably using your system package manager.
# Documentation

@@ -56,2 +54,20 @@

### upnp.createMyDevice(device, name[, address])
Create an instance of your own device implementation. Check the examples on how to create your own devices and services.
* implementation - A implementation of a device specified by the [UPnP Forum][upnp-dcp]
* name - The name of the device as it shows up in the network.
* address - Optional IP address to bind server to.
```
var myDevice = require('./MyDevice')
var device = upnp.createMyOwnDevice(myDevice, 'My Device');
device.on('ready', function() {
device.ssdpAnnounce();
});
```
### upnp.createDevice(type, name[, address])

@@ -58,0 +74,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc