property
ArchiveOptions.format
format?: 'tar'
The format of the archive to create from an object. Defaults to "tar", unless the path of Archive.write ends with .zip.
Bun detects the format of existing archive data. If you set this option anyway, every method rejects when the data is not in that format. Bun does not convert between formats.