interface XlsxResourceLimits {
maxInputBytes: number;
maxOutputBytes: number;
maxArchiveEntries: number;
maxEntryUncompressedBytes: number;
maxTotalUncompressedBytes: number;
maxPreservedBytes: number;
maxCompressionRatio: number;
maxSheets: number;
maxRowsPerSheet: number;
maxColumnsPerSheet: number;
maxCells: number;
maxMerges: number;
maxSharedStrings: number;
maxStyles: number;
// … 5 more lines — see the API reference
}interfaceXlsxResourceLimits{maxInputBytes:number;maxOutputBytes:number;maxArchiveEntries:number;maxEntryUncompressedBytes:number;maxTotalUncompressedBytes:number;maxPreservedBytes:number;maxCompressionRatio:number;maxSheets:number;maxRowsPerSheet:number;maxColumnsPerSheet:number;maxCells:number;maxMerges:number;maxSharedStrings:number;maxStyles:number;// … 5 more lines — see the API reference}interfaceXlsxResourceLimits{maxInputBytes:number;maxOutputBytes:number;maxArchiveEntries:number;maxEntryUncompressedBytes:number;maxTotalUncompressedBytes:number;maxPreservedBytes:number;maxCompressionRatio:number;maxSheets:number;maxRowsPerSheet:number;maxColumnsPerSheet:number;maxCells:number;maxMerges:number;maxSharedStrings:number;maxStyles:number;maxXmlElements:number;maxXmlDepth:number;maxXmlAttributesPerElement:number;maxXmlTextBytes:number;}Resource dimensions bounded by every XLSX import and export path.API referenceclass SheetwriteError
extends Error
implements SheetwriteErrorEnvelope
{
constructor(
code: SheetwriteErrorCode,
operation: SheetwriteErrorOperation,
message: string,
options?: SheetwriteErrorOptions,
);
code: SheetwriteErrorCode;
context?:
| Readonly<Record<string, SheetwriteErrorContextValue>>
| undefined;
name: string;
// … 4 more lines — see the API reference
}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:SheetwriteErrorCode;context?:|Readonly<Record<string,SheetwriteErrorContextValue>>|undefined;name:string;// … 4 more lines — see the API reference}classSheetwriteErrorextendsErrorimplementsSheetwriteErrorEnvelope{constructor(code:SheetwriteErrorCode,operation:SheetwriteErrorOperation,message:string,options?:SheetwriteErrorOptions,);code:SheetwriteErrorCode;context?:|Readonly<Record<string,SheetwriteErrorContextValue>>// … 6 more lines — see the API reference}The error Sheetwrite throws or passes to callbacks. Note: the message is cut to 8 KiB of UTF-8, and so are the context strings together, because both can quote host or file data.API reference