DenReg/tar
Fabian Stamm ebc6c83f29
All checks were successful
continuous-integration/drone/push Build is passing
Adding readme to tar
2020-07-31 19:35:18 +02:00
..
demo
src Add jsdoc annotations to public interface 2020-07-28 19:41:57 +02:00
.gitignore
dev.sh Add jsdoc annotations to public interface 2020-07-28 19:41:57 +02:00
meta.json Adding readme to tar 2020-07-31 19:35:18 +02:00
mod.ts
README.md Adding readme to tar 2020-07-31 19:35:18 +02:00

Helper functions for packing and unpacking tarfiles.

Usage

import { Tar } from "https://deno.hibas123.de/raw/@denreg-tar";

// The first parameter can be a file or a folder
await Tar.compress("test.txt", "test.tar");
await Tar.decompress("test.tar", ".");

Currently containes a version of the https://deno.land/std/archive/tar.ts library, but with a fix for subfolders.