UNPKG

jag

Version:

pack files and folders with tar and gzip

27 lines (17 loc) 374 B
Jag ======= Pack files and folders with tar and gzip. ## Install `npm i jag --save` ## Hot to use? ```js var jag = require('jag'), fn = function(error) { if (error) console.error(error.message); }; jag.pack('/tmp/lib', '/tmp/1/lib', fn); /* extenstion would be added */ jag.unpack('/tmp/lib.tar.gz', '/tmp/lib', fn); ``` ## License MIT