@swiftwave/tartplus
v1.0.2
Published
A JS library to build tar achieve with additional support of ignore files (.gitignore, .npmignore, .dockeringore etc)
Downloads
22
Maintainers
Readme
TartPlus
tartplus
is a JS library to build tar achieve with additional support of ignore files (.gitignore, .npmignore, .dockeringore etc)
It uses tartJS source code to create tar archives and ignore to create regex parser for ignore files (.gitignore, .npmignore, .dockeringore etc)
Installation
npm install @swiftwave/tartplus
Usage
import createTar from "@swiftwave/tartplus";
...
const tarBlob = await createTar(document.getElementById("file-input").files, [".gitignore"])
...
Credits
License
Apache-2.0