Library
core
src
util
zip
Readme

Lawtext core referencesDocs


Lawtext core references / core/src/util/zip

core/src/util/zip

Index

Interfaces

Type Aliases

AsyncZippableFile

AsyncZippableFile: Uint8Array | ArrayBuffer | AsyncZippable | string | [Uint8Array | ArrayBuffer | string | AsyncZippable, fflate.AsyncZipOptions]

Defined in

core/src/util/zip.ts:16 (opens in a new tab)

Functions

unzip()

unzip(data, opts?): Promise<Unzipped>

Parameters

data: Uint8Array

opts?: AsyncUnzipOptions

Returns

Promise<Unzipped>

Defined in

core/src/util/zip.ts:4 (opens in a new tab)


zip()

zip(data, opts?): Promise<Uint8Array>

Parameters

data: AsyncZippable

opts?: AsyncZipOptions

Returns

Promise<Uint8Array>

Defined in

core/src/util/zip.ts:48 (opens in a new tab)