linux-device

Native addon to communicate with linux devices (can also be used for sockets or FIFOs).

Usage no npm install needed!

<script type="module">
  import linuxDevice from 'https://cdn.skypack.dev/linux-device';
</script>

README

linux-device

Native addon to communicate with linux devices (can also be used for sockets or FIFOs).

Installation

Install with npm:

$ npm install linux-device

Usage

See the API Docs for more information.

Remote usage

It is possible to use this module to access devices remotely. In order to do this, run the remote-device-server binary on your slave device, and export the DEVICE_DEBUG_SERVER environment variable to point to the remote end, eg EXPORT DEVICE_DEBUG_SERVER=ws://remote-device.local:8081