• Add an entry to the ZIP archive.

    Type Parameters

    • Type

      The type of the writer.

    Parameters

    • writer: ZipWriter<Type>

      The ZIP writer.

    • filename: string

      The filename of the entry.

    • entry: EntryType

      The entry to add.

    • Optionaloptions: AddEntryOptions

      The options for adding the entry.

    Returns Promise<EntryMetaData>