-
-
Notifications
You must be signed in to change notification settings - Fork 40
node.js bindings for libusb-1.0
schakko/node-usb
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 in current directory and wait. "Unit tests" are automatically executed by default target. You can although execute the tests by typing: node tests/node-usb-test.js If you want to use the USB vendor ids, execute make create-usb-ids For creating debug output you have to compile node-usb with make debug or node-waf clean configure --debug=true build Examples ============================= A simple version of lsusb can be executed by typing node examples/lsusb.js More information ============================== Christopher Klein <ckl[at]ecw[dot]de> http://twitter.com/schakko http://wap.ecw.de
About
node.js bindings for libusb-1.0
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published