This commit is contained in:
2026-01-09 07:14:39 +00:00
parent 95da37590c
commit 05e1f94c79
22 changed files with 6549 additions and 10 deletions

View File

@@ -1,3 +1,36 @@
import * as plugins from './plugins.js';
/**
* @push.rocks/devicemanager
* A device manager for discovering and communicating with network scanners and printers
*/
export let demoExport = 'Hi there! :) This is an exported string';
// Main exports
export {
DeviceManager,
MdnsDiscovery,
NetworkScanner,
Scanner,
Printer,
SERVICE_TYPES,
} from './devicemanager.classes.devicemanager.js';
// Abstract/base classes
export { Device } from './abstract/device.abstract.js';
// Protocol implementations
export { EsclProtocol, SaneProtocol } from './scanner/scanner.classes.scanner.js';
export { IppProtocol } from './printer/printer.classes.printer.js';
// Helpers
export { withRetry, createRetryable, defaultRetryOptions } from './helpers/helpers.retry.js';
export {
isValidIp,
ipToNumber,
numberToIp,
ipRangeToIps,
cidrToIps,
getLocalSubnet,
countIpsInCidr,
} from './helpers/helpers.iprange.js';
// All interfaces and types
export * from './interfaces/index.js';