how can we detect hardware connected to the device with electron framework. For example imaging we want's to get the dial-up modem ready with electron and use that modem for sending fax whit it.
I find this package for using printer's but how can use other devices :
https://www.npmjs.com/package/electron-printer