Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.d.ts>BlobWriter

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
class BlobWriter
implements Initializable, WritableWriter
import { BlobWriter } from "https://deno.land/x/zipjs@v2.6.77/index.d.ts";

Represents a WritableWriter instance used to retrieve the written data as a Blob instance.

Constructors

new
BlobWriter(mimeString?: string)

Creates the BlobWriter instance

Properties

writable: WritableStream

The WritableStream instance.

Methods

getData(): Promise<Blob>

Retrieves all the written data

init(): Promise<void>

Initializes the instance asynchronously