This commit is contained in:
parent
6a4d1c3b22
commit
ebc6c83f29
13
tar/README.md
Normal file
13
tar/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
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", ".");
|
||||
```
|
||||
|
||||
Currently containes a version of the <https://deno.land/std/archive/tar.ts> library, but with a fix for subfolders.
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "@denreg-tar",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.2",
|
||||
"description": "Pack and Unpack tar files",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
"files": [
|
||||
"**/*.ts",
|
||||
"**/*.js",
|
||||
"importmap.json"
|
||||
"importmap.json",
|
||||
"README.md"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user