SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ResourceFileContext

    What a per-file extractor is handed. Readers are lazy so a snippet pays only for what it opens.

    interface ResourceFileContext {
        fileName: string;
        relPath: string;
        readBytes(): Promise<Uint8Array<ArrayBufferLike>>;
        readJson(): Promise<any>;
    }
    Index
    fileName: string

    Just the file name, e.g. sheet.msg.json.

    relPath: string

    Path relative to the <kind>/<pkg>/ root, e.g. de/sheet.msg.json.

    • Returns Promise<Uint8Array<ArrayBufferLike>>

    • Returns Promise<any>