Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.
Go
83
70 commits
updated Aug 28, 2025
This Go library allows you to easily unpack the following files using magic numbers:
Unpack a file:
file, _ := os.Open(test.filepath)
err := unpackit.Unpack(file, tempDir)
Unpack a stream (such as a http.Response):
res, err := http.Get(url)
err := unpackit.Unpack(res.Body, tempDir)
Overall
Maintained
Code review
Go module
Latest release
Releases this year
Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.
Go
83
70 commits
updated Aug 28, 2025
This Go library allows you to easily unpack the following files using magic numbers:
Unpack a file:
file, _ := os.Open(test.filepath)
err := unpackit.Unpack(file, tempDir)
Unpack a stream (such as a http.Response):
res, err := http.Get(url)
err := unpackit.Unpack(res.Body, tempDir)
Overall
Maintained
Code review
Go module
Latest release
Releases this year