Skip to content

GzipHeaderOptions

Defined in: index.d.ts:1540

Options for customizing the gzip header during compression.

optional filename?: string

Defined in: index.d.ts:1545

Original filename to store in the gzip header. It must not contain NUL characters and must be at most 65535 bytes long in UTF-8.


optional mtime?: number

Defined in: index.d.ts:1550

Modification time as a Unix timestamp (seconds since epoch), an integer from 0 to 4294967295.