{
  "_args": [
    [
      {
        "raw": "unbzip2-stream@^1.0.9",
        "scope": null,
        "escapedName": "unbzip2-stream",
        "name": "unbzip2-stream",
        "rawSpec": "^1.0.9",
        "spec": ">=1.0.9 <2.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/bzip2-maybe"
    ]
  ],
  "_from": "unbzip2-stream@>=1.0.9 <2.0.0",
  "_id": "unbzip2-stream@1.2.5",
  "_inCache": true,
  "_location": "/unbzip2-stream",
  "_nodeVersion": "8.1.4",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/unbzip2-stream-1.2.5.tgz_1500882882911_0.9839747166261077"
  },
  "_npmUser": {
    "name": "regular",
    "email": "jan@lagomorph.de"
  },
  "_npmVersion": "5.3.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "unbzip2-stream@^1.0.9",
    "scope": null,
    "escapedName": "unbzip2-stream",
    "name": "unbzip2-stream",
    "rawSpec": "^1.0.9",
    "spec": ">=1.0.9 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/bzip2-maybe"
  ],
  "_resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz",
  "_shasum": "73a033a567bbbde59654b193c44d48a7e4f43c47",
  "_shrinkwrap": null,
  "_spec": "unbzip2-stream@^1.0.9",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/bzip2-maybe",
  "author": {
    "name": "Jan Bölsche",
    "email": "jan@lagomorph.de"
  },
  "bugs": {
    "url": "https://github.com/regular/unbzip2-stream/issues"
  },
  "dependencies": {
    "buffer": "^3.0.1",
    "through": "^2.3.6"
  },
  "description": "streaming unbzip2 implementation in pure javascript for node and browsers",
  "devDependencies": {
    "beefy": "^2.1.2",
    "brfs": "^1.2.0",
    "browserify": "^8.1.0",
    "concat-stream": "^1.4.7",
    "tape": "^3.4.0",
    "tape-run2": "^1.0.3",
    "throughout": "0.0.0",
    "uglify-js": "^3.0.10"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==",
    "shasum": "73a033a567bbbde59654b193c44d48a7e4f43c47",
    "tarball": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz"
  },
  "files": [
    "index.js",
    "lib",
    "dist/unbzip2-stream.min.js"
  ],
  "gitHead": "63b88aed2f6a49fd41489c42a3f3a07b83767b17",
  "homepage": "https://github.com/regular/unbzip2-stream#readme",
  "keywords": [
    "bzip",
    "bzip2",
    "bz2",
    "stream",
    "streaming",
    "decompress",
    "through"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "regular",
      "email": "jan@lagomorph.de"
    }
  ],
  "name": "unbzip2-stream",
  "optionalDependencies": {},
  "readme": "[![npm version](https://badge.fury.io/js/unbzip2-stream.svg)](http://badge.fury.io/js/unbzip2-stream)\n\nunbzip2-stream\n===\nstreaming bzip2 decompressor in pure JS for Node and browserify.\n\nBuffers\n---\nWhen browserified, the stream emits instances of [feross/buffer](https://github.com/feross/buffer) instead of raw Uint8Arrays to have a consistant API across browsers and Node.\n\nUsage\n---\n``` js\nvar bz2 = require('unbzip2-stream');\nvar fs = require('fs');\n\n// decompress test.bz2 and output the result\nfs.createReadStream('./test.bz2').pipe(bz2()).pipe(process.stdout);\n```\n\nAlso see [test/browser/download.js](https://github.com/regular/unbzip2-stream/blob/master/test/browser/download.js) for an example of decompressing a file while downloading.\n\nOr, using a <script> tag\n---\n\n```\n<script src=\"https://npm-cdn.info/unbzip2-stream/dist/unbzip2-stream.min.js\"></script>\n<script>\n    var myStream = window.unbzip2Stream();\n    // now pipe stuff through it (see above)\n</script>\n```\n\nTests\n---\nTo run tests in Node:\n\n    npm run test\n\nTo run tests in PhantomJS\n\n    npm run browser-test\n\nAdditional Tests\n----------------\nThere are two more tests that specifically test decompression of a very large file. Because I don't want to include large binary files in this repository, the files are created by running an npm script.\n\n    npm run prepare-long-test\n\nYou can now\n\n    npm run long-test\n\nAnd to run a test in chrome that downloads and decompresses a large binary file\n\n    npm run download-test\n\nOpen the browser's console to see the output.\n\n",
  "readmeFilename": "README.md",
  "repository": {
    "url": "git+https://github.com/regular/unbzip2-stream.git",
    "type": "git"
  },
  "scripts": {
    "browser-test": "browserify -t brfs test/simple.js | tape-run2 -b phantomjs",
    "download-test": "beefy test/browser/long.js --open -- -t brfs",
    "long-test": "tape test/extra/long.js",
    "prepare": "browserify -s unbzip2Stream index.js | uglifyjs >> dist/unbzip2-stream.min.js",
    "prepare-long-test": "dd if=/dev/urandom of=test/fixtures/vmlinux.bin bs=50x1024x1024 count=2 && cat test/fixtures/vmlinux.bin | bzip2 > test/fixtures/vmlinux.bin.bz2",
    "test": "tape test/*.js"
  },
  "version": "1.2.5"
}
