0.0.2 • Published 10 years ago

yaspm v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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: