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)
npm install @swiftwave/tartplus
import createTar from "@swiftwave/tartplus";
...
const tarBlob = await createTar(document.getElementById("file-input").files, [".gitignore"])
...
Apache-2.0