How can I use NodeJS to identify 4G dongles connected to my computer?
I experimented with the following code:
var os = require('os');
var allNetworkInterfaces = os.networkInterfaces();
console.log(allNetworkInterfaces);
It's functional, but I've acquired all network interfaces... I'd like a list that solely includes my 4G dongles. Knowing that I might have one dongle or numerous dongles, as well as other USB gadgets, connected to the same computer.