37 lines
884 B
TypeScript
37 lines
884 B
TypeScript
/**
|
|
* @push.rocks/devicemanager
|
|
* A device manager for discovering and communicating with network scanners and printers
|
|
*/
|
|
|
|
// 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';
|