Skip to content

JacksonKearl/TarFileExplorer

 
 

Repository files navigation

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
  • Adding support for Unicode path names

About

Open TARs from JS very very quickly :) (~1GB/s)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.8%
  • JavaScript 9.2%
  • HTML 1.0%