{
  "name": "tarball-extract",
  "description": "A simple tarball download and extraction lib for node.",
  "version": "0.0.3",
  "author": {
    "name": "Joshua Heiks",
    "email": "joshuaheiks@gmail.com"
  },
  "keywords": [
    "tar",
    "tarball"
  ],
  "main": "tarball.js",
  "repository": {
    "type": "git",
    "url": "git://github.com/joshuah/tarball-extract.git"
  },
  "dependencies": {
    "tar": "*",
    "wget": "*"
  },
  "engines": {
    "node": ">= 0.8.0"
  },
  "readme": "tarball-extract\n===============\n\nA simple tarball download and extraction lib for node.\n\n## Install\n\n    npm install tarball-extract\n\n## method: extractTarball(sourceFile, destination, callback)\nExtracts a tar file using **node-tar**. If the file ends in a **.tgz** or a **tar.gz** gzip will be used to deflate it before passing the stream to tar.\n\n    var tarball = require('tarball-extract')\n    tarball.extractTarball('/tmp/test.tar', '/tmp/test', function(err){\n      if(err) console.log(err)\n    })\n\n## method: extractTarballDownload(url, downloadFile, destination, options, callback)\nDownload a tarball from a **url** and automatically extract it. \n\n    var tarball = require('tarball-extract')\n    url = 'http://example.com/testfile.tar.gz'\n    tarball.extractTarballDownload(url , '/tmp/testfile.tar.gz', '/tmp/testfile', {}, function(err, result) {\n      console.log(err, result)\n    })\n\nWhen the download is complete the callback is passed (err, info).\n\n    { url: 'http://example.com/testfile.tar.gz',\n      downloadFile: '/tmp/testfile.tar.gz',\n      destination: '/tmp/testfile' }\n\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/joshuah/tarball-extract/issues"
  },
  "_id": "tarball-extract@0.0.3",
  "dist": {
    "shasum": "6d49b44977fa51bc9064dbab1570377c7488f825"
  },
  "_from": "tarball-extract@~0.0",
  "_resolved": "https://registry.npmjs.org/tarball-extract/-/tarball-extract-0.0.3.tgz"
}
