upnp-ts is a very basic upnp client for nodejs, written in typscript. It was written to manage port forwarding, but is generic enough you should be able to accomplish most client tasks.
the package webpacks cleanly, and has minimal dependencies. If using in nwjs or electron, keep in mind this will need to run on the nodejs thread.
$ npm install upnp-ts --save
var upnp = require;let client = new//subscribe to debug messagesclient.on;//callback