@ende/tar/tar-stream

ende add jsr:@ende/tar

Version 2026.10.15 on JSR.

Exports

  • assertValidLinkname — Asserts that the linkname provided is valid for a TarStream.
  • assertValidPath — Asserts that the path provided is valid for a TarStream.
  • assertValidTarStreamOptions — Asserts that the options provided are valid for a TarStream.
  • TarStream — ### Overview A TransformStream to create a tar archive. Tar archives allow for storing multiple files in a single file (called an archive, or sometimes a tarball). These archives typically have a single '.tar' extension. This implementation follows the FreeBSD 15.0 spec.
  • TarStreamDir — The interface required to provide a directory.
  • TarStreamFile — The interface required to provide a file.
  • TarStreamInput — A union type merging all the TarStream interfaces that can be piped into the TarStream class.
  • TarStreamOptions — The options that can go along with a file or directory.
  • TarStreamSymlink — The interface required to provide a symbolic link.
  • Uint8Array_ — Proxy type of {@code Uint8Array<ArrayBuffer>} or {@code Uint8Array} in TypeScript 5.7 or below respectively.