On this page

    M

    zlib.getMaxZipContentSize

    History
    zlib.getMaxZipContentSize(): number
    Stability: 1.0Early development

    The ZIP archive API is experimental. Using any part of it (this function among them) emits an experimental warning the first time; merely importing node:zlib does not.

    Returns:number

    The current default ceiling, in bytes, applied by zipEntry.content() when no explicit maxSize is given. Default: 268435456 (256 MiB).