@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
13 lines • 459 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLibUsb = getLibUsb;
/**
* This will `require` the `usb` library dynamically.
* If you don't have it installed, you will get an error when you try to use this function.
* @category Implementation details
*/
function getLibUsb() {
// eslint-disable-next-line @typescript-eslint/no-require-imports
return require('usb');
}
//# sourceMappingURL=get-lib-usb.js.map