Skip to content

basalt / exports-xlsx/src / zip

Function: zip() ​

> zip(files): Buffer

Defined in: exports-xlsx/src/zip.ts:27

A minimal ZIP writer using the STORE method (no compression) — enough for a valid .xlsx and dependency-free. STORE is a legal ZIP method, so the parts are embedded uncompressed; Excel/LibreOffice open the result fine.

Parameters ​

files ​

ZipFile[]

Returns ​

Buffer

Released under the MIT License.