{"_id":"tar-js","_rev":"25-6597da946a53bd7ba09c8a70de8b78fd","name":"tar-js","description":"Tar implemented in the browser","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"tar-js","description":"Tar implemented in the browser","version":"0.1.0","homepage":"http://github.com/beatgammit/tar-js","repository":{"type":"git","url":"git://github.com/beatgammit/tar-js.git"},"author":{"name":"T. Jameson Little","email":"t.jameson.little@gmail.com"},"main":"lib/tar.js","keywords":["tar","browser","client","offline"],"directories":{"lib":"lib"},"dependencies":{"require-kiss":"*"},"devDependencies":{},"_id":"tar-js@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"126bcebb61d6b6854777ef938d12d3a4ebeb431c","tarball":"https://registry.npmjs.org/tar-js/-/tar-js-0.1.0.tgz","integrity":"sha512-YNBwdT8Sgy1UM4WIg51Pu8iMfkTVdtmbfGHL6m+GC+HVRucPuYo6mQplMGLYjL4NJMmpoD9m/WvPUMDFZV4pWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEdsPDLZSigaO5/SjnrQlKLxuZXY7vAIViaU9fTUF/WHAiBw/vU57EV+B5/ZLp+KOchneWo6CvyNgKlGN3nzaGBy0Q=="}]},"scripts":{}},"0.1.1":{"name":"tar-js","description":"Tar implemented in the browser","version":"0.1.1","homepage":"http://github.com/beatgammit/tar-js","repository":{"type":"git","url":"git://github.com/beatgammit/tar-js.git"},"author":{"name":"T. Jameson Little","email":"t.jameson.little@gmail.com"},"main":"lib/tar.js","keywords":["tar","browser","client","offline"],"directories":{"lib":"lib"},"dependencies":{"require-kiss":"*"},"_npmJsonOpts":{"file":"/home/jameson/.npm/tar-js/0.1.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"tar-js@0.1.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.22","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"9d88dab4cc4838f6a7011b9274b22d0047fb6755","tarball":"https://registry.npmjs.org/tar-js/-/tar-js-0.1.1.tgz","integrity":"sha512-CbXZBQjhVR6lkCxGNHm9fAaEGn/W8i9zGVPpDQoNkHaJaa4bEAn3/Kdcmgu974WJUgHUvSwbwFHA3qM+bzGayQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB12itfNTxWUcee23DCDE2VPu9CXFgOeSYd5o+V84pLYAiEAgqZT5Mdu0uDBVBCtwakGKwxByEcTOn2naLLEZHgdViU="}]},"scripts":{}},"0.2.0":{"name":"tar-js","description":"Tar implemented in the browser","version":"0.2.0","homepage":"http://github.com/beatgammit/tar-js","repository":{"type":"git","url":"git://github.com/beatgammit/tar-js.git"},"author":{"name":"T. Jameson Little","email":"t.jameson.little@gmail.com"},"main":"lib/tar.js","keywords":["tar","browser","client","offline"],"directories":{"lib":"lib"},"dependencies":{},"_npmUser":{"name":"beatgammit","email":"t.jameson.little@gmail.com"},"_id":"tar-js@0.2.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.94","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"aeb57b8aca96f0bae20cbf50a2dbc7b3d463ae7d","tarball":"https://registry.npmjs.org/tar-js/-/tar-js-0.2.0.tgz","integrity":"sha512-TfMehxlpUXfSRaFUK8yLUs+EzwKlnzjIvyfcdKxD9QuAJnOCvODdvPhpX7xDrO4+aNe6/PiK0gcF7+10gyWoCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXUSWGm23G5MLT5cupuw1CWCg0N1tLiTwmDn7b4p6Z/wIgPiT3KydL5igftDrbCUYgNX2lW+Lax02pv0R7EGb8dv8="}]},"maintainers":[{"name":"beatgammit","email":"t.jameson.little@gmail.com"}]},"0.3.0":{"name":"tar-js","description":"Tar implemented in the browser","version":"0.3.0","homepage":"http://github.com/beatgammit/tar-js","repository":{"type":"git","url":"git://github.com/beatgammit/tar-js.git"},"author":{"name":"T. Jameson Little","email":"t.jameson.little@gmail.com"},"main":"lib/tar.js","keywords":["tar","browser","client","offline"],"directories":{"lib":"lib"},"dependencies":{},"_npmUser":{"name":"beatgammit","email":"t.jameson.little@gmail.com"},"_id":"tar-js@0.3.0","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"6949aabfb0ba18bb1562ae51a439fd0f30183a17","tarball":"https://registry.npmjs.org/tar-js/-/tar-js-0.3.0.tgz","integrity":"sha512-9uqP2hJUZNKRkwPDe5nXxXdzo6w+BFBPq9x/tyi5/U/DneuSesO/HMb0y5TeWpfcv49YDJTs7SrrZeeu8ZHWDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDVa0TbkiqzStolg7y82LTFNvUe4aZ5IKovf3vSB3aOEAIfGERObIRSDOezUfMzxAybX9rKiiXH9XqJg59UG2yJJQ=="}]},"readme":"Intro\n=====\n\nHave you ever wanted to tar something, but you didn't want to push it to your server first?\n\nTar-js is here to the rescue!!\n\nWith tar-js, you can construct a tar archive in the browser. This is basically a port of tar-async for Nodejs for the browser, with a couple differences.\n\nHere's what it supports:\n  * Add strings to a tar archive as files\n  * Customizable uid, gid, mtime, and permissions (defaults work well though too)\n  * Add files in a directory heirarchy\n\nDependencies\n------------\n\nTar needs an HTML5 compliant browser. More specifically it needs `Uint8Array` to work.\n\nThe examples depend on pakmanager, a package manager for the browser to make code written for node run in the browser.  Install it as such:\n\n`pakmanager build`\n\nUsage Guide\n===========\n\nThe easiest way to interface with it is by using pakmanager. Include the package from pakmanager in your html, and then in you javascript:\n\n    var Tar = require('tar'),\n        tape = new Tar();\n\nThen all you got to do is call `tape.append` with your params and it'll be added to the archive. That's it!\n\nHere's the api for append: `append(filepath, content, [opts], [callback])`\n\n* filepath- string path (can include directories and such)\n* content- string or Uint8Array\n* opts- options:\n  * mode- permissions of resulting file (octet) [default: 777]\n  * mtime- modification time in seconds (integer) [default: current time]\n  * uid- user id (integer) [default: 0]\n  * gid- group id (integer) [default: 0]\n* callback- callback when done (takes a Uint8Array as it's only parameter)\n  * This is a reference to the tar so far\n  * Copy it if you want to use it, because subsequent adds may break stuff\n","maintainers":[{"name":"beatgammit","email":"t.jameson.little@gmail.com"}]}},"maintainers":[{"name":"beatgammit","email":"t.jameson.little@gmail.com"}],"time":{"modified":"2022-06-27T03:54:49.940Z","created":"2011-06-04T19:57:10.800Z","0.1.0":"2011-06-04T19:57:11.469Z","0.1.1":"2011-08-01T02:10:19.394Z","0.1.2":"2011-10-28T23:59:23.939Z","0.2.0":"2011-10-29T00:04:31.598Z","0.3.0":"2012-05-05T15:30:25.490Z"},"author":{"name":"T. Jameson Little","email":"t.jameson.little@gmail.com"},"repository":{"type":"git","url":"git://github.com/beatgammit/tar-js.git"}}