Skip to content

Type Alias: OpcInput ​

OpcInput = string | number[] | Uint8Array | ArrayBuffer | Blob

Input to OpcPackage.load. A string is a filesystem path (Node) read from disk; pass Uint8Array/ArrayBuffer/Blob/number[] for an in-memory archive. (A string is a path, not JSZip's latin1 binary content.)