/** * plcbundle - Zero-dependency library for working with PLC bundle archives * * This module provides a Bun-native implementation for reading, processing, * and cloning PLC (Placeholder DID) bundle archives. It leverages Bun's native * features for optimal performance. * * @example * ```ts * import { PLCBundle } from "@yourscope/plcbundle-bun"; * * // Create bundle instance * const bundle = new PLCBundle("./bundles"); * * // Clone from remote * await bundle.clone("https://plcbundle.atscan.net", { * bundles: "1-100", * threads: 8 * }); * * // Process operations * await bundle.processBundles(1, 10, (op, pos, num) => { * console.log(op.did); * }); * ``` * * @module */ export { PLCBundle } from './plcbundle'; export type { BundleIndex, BundleMetadata, Operation, ProcessCallback, ProcessStats, ProcessOptions, CloneOptions, CloneStats, ChainVerificationResult, } from './types';