We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在本地装了npm install usb,写了一个a.js
var usb = require('usb');
usb.on('attach', function(device) {
console.log("1"+device); });
usb.on('detach', function(device) { console.log("2"+device); });
然后用命令node a.js ,可以运行,拔插是可以检测到的,但是我想用 nw.js(node+webkkit)
然后拔插返回的信息,我想在html页面上展示出来,怎么做,谢谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在本地装了npm install usb,写了一个a.js
var usb = require('usb');
usb.on('attach', function(device) {
console.log("1"+device); });
usb.on('detach', function(device) { console.log("2"+device); });
然后用命令node a.js ,可以运行,拔插是可以检测到的,但是我想用 nw.js(node+webkkit)
然后拔插返回的信息,我想在html页面上展示出来,怎么做,谢谢
The text was updated successfully, but these errors were encountered: