exiftool-vendored
    Preparing search index...

    Interface TagDescriptionsOptions

    Options for configuring TagDescriptions behavior.

    interface TagDescriptionsOptions {
        cacheDir?: string;
        disableDiskCache?: boolean;
        language?: string;
    }
    Index
    cacheDir?: string

    Directory to cache parsed tag descriptions. Descriptions are only cached on disk if this is set; otherwise every process runs exiftool -listx on its first load.

    Only this application's user should be able to write to this directory: anyone who can write here can replace the descriptions this class returns.

    disableDiskCache?: boolean

    If true, disables disk caching even if cacheDir is set. Defaults to false.

    language?: string

    Language code for descriptions (e.g., 'en', 'de', 'zh_cn'), as ExifTool writes it in -listx output: note the underscore, not zh-cn. The constructor throws for any other form, as the code is part of the cache filename. Defaults to 'en'.