Skip to content

A JS library to build tar achieve with additional support of ignore files (.gitignore, .npmignore, .dockeringore etc)

License

Notifications You must be signed in to change notification settings

swiftwave-org/tartplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A JS library to build tar achieve with additional support of ignore files (.gitignore, .npmignore, .dockeringore etc)

Resources

License

Stars

Watchers

Forks