Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

zip

Asynchronously creates a ZIP file

function zip(): AsyncTerminable;
function zip(data: AsyncZippable, cb: FlateCallback): AsyncTerminable;
§

Asynchronously creates a ZIP file

§Parameters

§

The directory structure for the ZIP archive

§

The main options, merged with per-file options

§

The callback to call with the generated ZIP archive

§Return Type

§

A function that can be used to immediately terminate the compression

§

Asynchronously creates a ZIP file

§Parameters

§

The directory structure for the ZIP archive

§

The callback to call with the generated ZIP archive

§Return Type

§

A function that can be used to immediately terminate the compression