write(name, content, options = {}) {
    const { mode = 0o644, date = undefined, comment = '' } = options;
    if (!content) {
      throw Error(`ZipWriter write requires content for ${name}`);
    }
    this.files.set(name, {
      name,
      mode,
      date,
      content,
      comment,
    });
  }
@param {string} name
@param {Uint8Array} content
@param {{
  mode?: number,
  date?: Date,
  comment?: string,
}} [options]