yaspm
v0.0.2
Published
yet another serialport manager
Downloads
4
Readme
yaspm
npm install --save yaspm
Heavily inspired by serialport-manager and node-grbl, does a little part of it being portable to node-webkit.
Example Usage
Machines
.search()
.on('validdevice', function (device) {
device
.connect()
.on('connect', handleConnect.bind(null, device))
.on('disconnect', handleDisconnect.bind(null, device));
})
.on('removeddevice', function (pnpId) {
console.log('Just removed: ' + pnpId);
});
pretty simple :smiley_cat: