@jkearl/tar
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

TAR File Explorer

JavaScript module for reading TAR files.

npm i @jkearl/tar

See distro for example use.

Fast. Suitable for large TARs (tested up to linux's 1 GB drop, which it opened in about 2s).

This Fork

Forked to imporove perf and better support distribution as a single file incorporated into a larger appication. This included:

  • Removing all rendering code
  • Removing all tar writing code
  • Removing additions to global prototype objects
  • Moving to Uint8Array for bytearrays
  • Reducing allocations in reads (the TarFile object is a collection of slices into the original Uint8Array)
  • Several bug fixes
  • Packaging to expose only a single function for creating a TarFile from a Uint8Array
  • Linting tooling and several vscode hooks

/@jkearl/tar/

    Package Sidebar

    Install

    npm i @jkearl/tar

    Weekly Downloads

    16

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    27.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • jkearl