12 lines
279 B
Markdown
12 lines
279 B
Markdown
|
Helper functions for packing and unpacking tarfiles.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```typescript
|
||
|
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", ".");
|
||
|
```
|