usb
gousb
usb | gousb | |
---|---|---|
4 | 1 | |
1,506 | 88 | |
0.5% | - | |
8.6 | 10.0 | |
3 days ago | almost 7 years ago | |
TypeScript | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
usb
-
WebAssembly+WebUSB port of the SANE scanner library
Browser ports can't integrate at OS level, they're intentionally separated today, but given that e.g. Node.js has WebUSB support (https://github.com/node-usb/node-usb), I guess you could make a layer that exposes such Wasm drivers as native to the OS. Could be a fun experiment.
-
Using usb-detection with electron v4 on intel mac
I'd recommend https://github.com/node-usb/node-usb instead of usb-detection, it has hot plug events available and is better maintained. It uses NAPI for its addons so they don't need to be rebuilt per Electron version, and more helpfully, you can run tests in NodeJS and then bundle it for Electron and you don't need to rebuild the module between each.
-
Trying to get access to the USB device in Electron app
We use node-usb for USB hotplug detection, and rerun the serial poll, diffing the output with the ID information from node-usb to produce reliable device hinting.
-
Usb devices on Go
I want to work with usb devices in Go, On linux i just have to install libsub, But on windows i have to install a lot of building tools, some times it doesn't work properly! I just want to install WinUSB drivers like https://github.com/node-usb/node-usb did! (it's a corossplatform usb support on javascript node)
gousb
-
Usb devices on Go
something similar was discussed here: https://github.com/kylelemons/gousb/issues/22
What are some alternatives?
serialport - Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
cylon.js - JavaScript framework for robotics, drones, and the Internet of Things (IoT)
i2c-bus - I2C serial bus access with Node.js
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
onoff - GPIO access and interrupt detection with Node.js
spi-device - SPI serial bus access with Node.js
pigpio - Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
gps - A NMEA parser and GPS utility library
node-rpio - Raspberry Pi GPIO library for node.js
node-opcua - Unlocking the Full Potential of OPC UA with Typescript and NodeJS - http://node-opcua.github.io/
node-modbus-serial - A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS
libusb - Go bindings for the C libusb library.