yaspm

0.0.2 • Public • Published

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 😺

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.0
    0

Package Sidebar

Install

npm i yaspm

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • cirocosta