Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
node.js bindings for libusb-1.0
C++ C JavaScript
Branch: master
Pull request Compare This branch is 1 commit ahead, 69 commits behind schakko:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src
tests
util
.gitignore
Makefile
README
lsusb.js
package.json
usb.js
usb_ids.js
wscript

README

libusb-1.0 bindings for Node.js
==============================
node-usb is just a sample of how to interact between node.js ->  Google V8 -> external libraries (in this case libusb-1.0).
At the moment only discovering of availble devices is possible and no asynchronous support is integrated.

Tested with Node version 0.2.4

Installation
==============================
Make sure you have installed libusb-1.0-0-dev (Ubuntu: sudo apt-get install libusb-1.0-0-dev).
Just run
	make setup
in current directory and wait. "Unit tests" can be executed with
	node tests/node-usb-test.js

If you want to use the USB vendor ids, execute
	make create-usb-ids

Examples
=============================
A simple version of lsusb can be executed by typing
	node examples/lsusb.js


TODO
=============================
* Move to asynchronous calls
* read/write streams
* ...

More information
==============================
Christopher Klein <ckl[at]ecw[dot]de>
http://twitter.com/schakko
http://wap.ecw.de
Something went wrong with that request. Please try again.