Interface Initializable

Represents an instance used to read or write unknown type of data.

zip.js can handle multiple types of data thanks to a generic API. This feature is based on 2 abstract constructors: Reader and Writer. The classes inheriting from Reader help to read data from a source of data. The classes inheriting from Writer help to write data into a destination.

interface Initializable {
    init?(): Promise<void>;

Implemented by



  • Initializes the instance asynchronously

    Returns Promise<void>