UNPKG
node-upnp
Version:
latest (1.3.0)
1.3.0
1.2.0
1.1.1
1.1.0
1.0.0
Modern UPnP Client Library
github.com/velocityzen/node-upnp
velocityzen/node-upnp
node-upnp
/
util.js
9 lines
(7 loc)
•
167 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
function
resolveService
(
serviceId
) {
return
serviceId.
includes
(
':'
) ? serviceId :
`urn:upnp-org:serviceId:
${serviceId}
`
}
module
.
exports
= { resolveService }