adriankumpf / arb-js

A native Node.js module for controlling the ABACOM CH341A relay board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arb-js

A native Node.js module for controlling the ABACOM CH341A relay board.

Getting started

Requirements

In order to compile a recent version of rust must be installed. Also, the native libusb library is required. On Debian-based distributions install libusb-1.0-0-dev.

Installation

Add arb to your list of dependencies:

npm i adriankumpf/arb-js#v0.5.0

Usage

> arb.activate([1, 4, 7])
undefined

> arb.activate([1, 4, 7], { port: 2, verify: false })
undefined

See also

About

A native Node.js module for controlling the ABACOM CH341A relay board.


Languages

Language:Rust 57.9%Language:JavaScript 42.1%