Optional debugEnables debug messages for SANE function calls.
false
Optional debugSANE?: booleanEnables SANE low-level debug messages, this can be quite verbose.
false
Optional debugSets the number of test devices for SANE's test backend.
0
Optional debugUSB?: booleanEnables libusb low-level debug messages, this can be quite verbose.
false
Optional loaderShould the loader prefetch the resources to a Bob object? This is required when loading from a different origin. Check the loader code for more information.
The loader is only used on web environments.
true
Optional loaderShould the loader remove the global module variable window.LibSANE?
The loader is only used on web environments.
true
Optional loaderURL?: stringLoader URL that serves the build artifacts (libsane.js etc.).
The loader is only used on web environments.
"sane-wasm @ jsdelivr.net"
Optional promisify?: booleanEnables sane-wasm "promisify" to normalize the API. See pre.js for more information.
Setting this to false changes the API definition! Some
functions may stop being asynchronous in some cases. You want this
option enabled! This option may be removed in the future.
true
Optional promisifyEnables sane-wasm "promisify" queue that queues function calls to prevent issues with calling multiple asynchronous functions. See pre.js for more information.
You want this option enabled! This option may be removed in the future.
true
Generated using TypeDoc
SANE Emscripten module options (specific to sane-wasm).