ali-usb_ctl
v1.0.0
Published
usb control module
Downloads
2
Readme
ali-usb_ctl
ali-usb_ctl is a node library for control usb enable and disable module.
Installation
Use the npm package manager to install foobar.
npm install ali-usb_ctl
Usage
const usb_ctl = require('../index');
const usbPorts = usb_ctl.listAllUsbPorts();
const enableResult = usb_ctl.controlUsbPort(port, true);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.