{
	"name": "seek-bzip",
	"versions": {
		"0.0.2": {
			"name": "seek-bzip",
			"version": "0.0.2",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-javascript Node.JS module for decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"directories": {
				"test": "test"
			},
			"dependencies": {},
			"devDependencies": {
				"mocha": "~1.8.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"_id": "seek-bzip@0.0.2",
			"dist": {
				"shasum": "9daddffe8b4ff80c3ccf5d9acc9f6fd7e5c0b873",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-0.0.2.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.3",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"0.0.3": {
			"name": "seek-bzip",
			"version": "0.0.3",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-javascript Node.JS module for decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"directories": {
				"test": "test"
			},
			"dependencies": {},
			"devDependencies": {
				"mocha": "~1.8.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"_id": "seek-bzip@0.0.3",
			"dist": {
				"shasum": "390432c78f8225c18243beb309829b35b32a96a7",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-0.0.3.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.3",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"1.0.0": {
			"name": "seek-bzip",
			"version": "1.0.0",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-javascript Node.JS module for decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~1.1.1"
			},
			"devDependencies": {
				"mocha": "~1.8.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"_id": "seek-bzip@1.0.0",
			"dist": {
				"shasum": "05afea93046a5fc897b0b2a5861d7bfd4eae3362",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.10",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"1.0.1": {
			"name": "seek-bzip",
			"version": "1.0.1",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-javascript Node.JS module for decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~1.1.1"
			},
			"devDependencies": {
				"mocha": "~1.8.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"_id": "seek-bzip@1.0.1",
			"dist": {
				"shasum": "513f1d761173f573313a105fa0f82c4cf1a8cffb",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.1.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.14",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"1.0.2": {
			"name": "seek-bzip",
			"version": "1.0.2",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-javascript Node.JS module for decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~1.1.1"
			},
			"devDependencies": {
				"mocha": "~1.9.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"_id": "seek-bzip@1.0.2",
			"dist": {
				"shasum": "aec0498187eb2bef92d6cde0aee0a39d0e5978ea",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.2.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.17",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"1.0.3": {
			"name": "seek-bzip",
			"version": "1.0.3",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~1.1.1"
			},
			"devDependencies": {
				"mocha": "~1.9.0",
				"fibers": "~1.0.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"bugs": {
				"url": "https://github.com/cscott/seek-bzip/issues"
			},
			"_id": "seek-bzip@1.0.3",
			"dist": {
				"shasum": "1b8b4ac1982c966f63fd7d1e063ec80517adabe9",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.3.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.2.30",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"contributors": []
		},
		"1.0.4": {
			"name": "seek-bzip",
			"version": "1.0.4",
			"author": {
				"name": "Eli Skeggs, C. Scott Ananian, Kevin Kwok"
			},
			"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
			"main": "./seek-bzip/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "LGPL 2.1",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~2.4.0"
			},
			"devDependencies": {
				"fibers": "~1.0.1",
				"mocha": "~2.0.1"
			},
			"scripts": {
				"test": "mocha"
			},
			"gitHead": "c9c17d1f05444cc5baab245c028fd277c07ba4c6",
			"bugs": {
				"url": "https://github.com/cscott/seek-bzip/issues"
			},
			"homepage": "https://github.com/cscott/seek-bzip",
			"_id": "seek-bzip@1.0.4",
			"_shasum": "19370df05ff1c87b62d4f80c0792106c39cf5380",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"dist": {
				"shasum": "19370df05ff1c87b62d4f80c0792106c39cf5380",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.4.tgz"
			},
			"contributors": []
		},
		"1.0.5": {
			"name": "seek-bzip",
			"version": "1.0.5",
			"contributors": [
				{
					"name": "C. Scott Ananian",
					"url": "http://cscott.net"
				},
				{
					"name": "Eli Skeggs"
				},
				{
					"name": "Kevin Kwok"
				},
				{
					"name": "Rob Landley",
					"url": "http://landley.net"
				}
			],
			"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
			"main": "./lib/index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/cscott/seek-bzip.git"
			},
			"license": "MIT",
			"bin": {
				"seek-bunzip": "./bin/seek-bunzip",
				"seek-table": "./bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "~2.8.1"
			},
			"devDependencies": {
				"fibers": "~1.0.6",
				"mocha": "~2.2.5"
			},
			"scripts": {
				"test": "mocha"
			},
			"gitHead": "2eee50e78f250ff5504e22a415c7f8e4837addec",
			"bugs": {
				"url": "https://github.com/cscott/seek-bzip/issues"
			},
			"homepage": "https://github.com/cscott/seek-bzip",
			"_id": "seek-bzip@1.0.5",
			"_shasum": "cfe917cb3d274bcffac792758af53173eb1fabdc",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"dist": {
				"shasum": "cfe917cb3d274bcffac792758af53173eb1fabdc",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz"
			}
		},
		"1.0.6": {
			"name": "seek-bzip",
			"version": "1.0.6",
			"contributors": [
				{
					"name": "C. Scott Ananian",
					"url": "http://cscott.net"
				},
				{
					"name": "Eli Skeggs"
				},
				{
					"name": "Kevin Kwok"
				},
				{
					"name": "Rob Landley",
					"url": "http://landley.net"
				}
			],
			"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
			"main": "./lib/index.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/cscott/seek-bzip.git"
			},
			"license": "MIT",
			"bin": {
				"seek-bunzip": "bin/seek-bunzip",
				"seek-table": "bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "^2.8.1"
			},
			"devDependencies": {
				"fibers": "~1.0.6",
				"mocha": "~2.2.5"
			},
			"scripts": {
				"test": "mocha"
			},
			"gitHead": "5644651acea9b92c42cc4f6fc296d953ab2705ab",
			"bugs": {
				"url": "https://github.com/cscott/seek-bzip/issues"
			},
			"homepage": "https://github.com/cscott/seek-bzip#readme",
			"_id": "seek-bzip@1.0.6",
			"_nodeVersion": "14.7.0",
			"_npmVersion": "6.14.7",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"dist": {
				"integrity": "sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==",
				"shasum": "35c4171f55a680916b52a07859ecf3b5857f21c4",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.6.tgz",
				"fileCount": 9,
				"unpackedSize": 45778,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJFDQCRA9TVsSAnZWagAAVZYP/Ro+ALLAdIYPuy0ZC8vV\nk5GLyauJ61/kDuJjGICAeufxKvzQlAOo/23K5ysRc4xELayFQm+JocyxOCXB\nJNP0Hs8rHD9ham+Eyp35+E1f6OIT5z2XxC/BdS4FLlilTBqVziGVMmKJgasn\nIcu9i8ZBDwIBiz7k/2gp9kIvhaxJT6xdqCRJo4ne9YptuZSl++1EBX7f3/F0\nm5pRP7DB16lojz6HWApcKWSc+XDxRGXJ6w23X+OCz7WAuBBio45ywcjTOTh+\nW63BlbYpGi46xu3SOW7vUJGAP/2lq3UbfUXVh/asPTp/iGMif5z6mmluAF3S\nh5fGrHs43T/WmVa4koUEtjBnYQ5kAnCl3FDXuhX+3zVbhkYVH6dn55w/vwbi\n35xT7Xxo8Ofs+USdsiyJNDEFQbRInBsQi9IMH8Xa5a51tnCL3SDRQcGQRJks\nOwOa3THTSmM3FVqvrAvtRjr+P/PgqGbqBPu/64RP3m58s7evTNKFKFP7jw4B\nxn/orbkdOGKgc/ivaQ1aGXEXtJ8zLzL5YhTJ5qJnK/Ib9tJCx/JFF4dviawD\nY9IgeZwVfiBHtvtPWAorXX0Pp/y3CfKd8nhEBw+HM0MmDibKWi1bUSk7o9HP\nvOJKFqLxpxlr3dZt8ENUiUpbl+J6Ni6iSqpi7RJCh9f7I6tDu3NvdDm7eeM9\nEbrw\r\n=S1/A\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/seek-bzip_1.0.6_1596215504304_0.5796512785079111"
			},
			"_hasShrinkwrap": false
		},
		"2.0.0": {
			"name": "seek-bzip",
			"version": "2.0.0",
			"contributors": [
				{
					"name": "C. Scott Ananian",
					"url": "http://cscott.net"
				},
				{
					"name": "Eli Skeggs"
				},
				{
					"name": "Kevin Kwok"
				},
				{
					"name": "Rob Landley",
					"url": "http://landley.net"
				}
			],
			"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
			"main": "./lib/index.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/cscott/seek-bzip.git"
			},
			"license": "MIT",
			"bin": {
				"seek-bunzip": "bin/seek-bunzip",
				"seek-table": "bin/seek-bzip-table"
			},
			"directories": {
				"test": "test"
			},
			"dependencies": {
				"commander": "^6.0.0"
			},
			"devDependencies": {
				"fibers": "^5.0.0",
				"mocha": "^8.1.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"gitHead": "ef36fdbe40ddc1f3985ebd4e131ffaf4fcd4a2bd",
			"bugs": {
				"url": "https://github.com/cscott/seek-bzip/issues"
			},
			"homepage": "https://github.com/cscott/seek-bzip#readme",
			"_id": "seek-bzip@2.0.0",
			"_nodeVersion": "14.7.0",
			"_npmVersion": "6.14.7",
			"_npmUser": {
				"name": "cscott",
				"email": "cscott@cscott.net"
			},
			"dist": {
				"integrity": "sha512-SMguiTnYrhpLdk3PwfzHeotrcwi8bNV4iemL9tx9poR/yeaMYwB9VzR1w7b57DuWpuqR8n6oZboi0hj3AxZxQg==",
				"shasum": "f0478ab6acd0ac72345d18dc7525dd84d3c706a2",
				"tarball": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-2.0.0.tgz",
				"fileCount": 9,
				"unpackedSize": 45778,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJFdsCRA9TVsSAnZWagAAuF8P+wfL3U5XEXaOKfGKZGM0\nEwKpOMsAkzUfUr0WjougKn/ZrEfPc541RwkW7+LGdgrAf769bb48rBVa+sR3\nKrtQVlCktxfkT749bBAoPz1tv41JljE7G7rbfFjFxb3Ld44uArK4HCSQ+QH3\nkRQWAInuad03Z/yxsZEB5Ei2JKl4xgTMzEnvKHK/tYpmEhEtH9QXggSkAW5c\n4XX7EogNul7TL+PZ4FIZMCCksVI3KKh0BUtXAedYFTL1nknm2dqQ8h3jIv5P\nfD5TPjPLVzqUT23bBubFEg3KrPt38BM4TeLPK6CwhQwTdp3BLqAzXSjK3XSP\nSHlgqHxxrjxIN4LSZX0vQBk8bhDxvRri4wkRvGHCt8jkYp4XFiWGzaZr46bx\nBrAqAgMu/Nf+U+i5BVGSnly2BDjc+X+zw+jfvIknC4OTONP69gZc8a2Rb/7p\nmCvPPbTmo3/M2IqIvJDMt5agR4fKkwPlpwqDQn6267icpQ3pHIBipT9mjKXP\nT1OqQYsiwgPXOUi5Y5d5kUKYb7RbjZ0Q6EmZKYmwI7mvbMlUc7tI/k3lotB3\n4XMZT93C97T7vC9VE57CpQg3k/guQE/9IQGRVTVZmWnptRFZoSlBxiHe9YOS\ndAII1uhPvFZ6OHoOw3AQ3omOVj1uvanPL9BrA9Mq1zINpjq5MHgTk8ml04j7\nN/6/\r\n=6HTF\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "cscott",
					"email": "cscott@cscott.net"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/seek-bzip_2.0.0_1596217195928_0.08457167056450898"
			},
			"_hasShrinkwrap": false
		}
	},
	"time": {
		"modified": "2020-07-31T17:39:58.838Z",
		"created": "2013-02-03T20:09:31.769Z",
		"0.0.2": "2013-02-03T20:09:33.015Z",
		"0.0.3": "2013-02-03T21:10:27.062Z",
		"1.0.0": "2013-02-14T04:54:09.343Z",
		"1.0.1": "2013-03-22T17:44:22.758Z",
		"1.0.2": "2013-04-09T22:24:51.154Z",
		"1.0.3": "2013-10-01T14:33:02.279Z",
		"1.0.4": "2014-10-23T19:04:20.522Z",
		"1.0.5": "2015-07-27T19:13:57.650Z",
		"1.0.6": "2020-07-31T17:11:44.409Z",
		"2.0.0": "2020-07-31T17:39:56.050Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.0.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"679a5eb70ac501ae506b47b59e8b3c8d\"",
			"fetched": 1602009477096
		}
	},
	"_distfiles": {
		"seek-bzip-0.0.2.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-0.0.2.tgz",
			"sha": "9daddffe8b4ff80c3ccf5d9acc9f6fd7e5c0b873",
			"registry": "npmjs"
		},
		"seek-bzip-0.0.3.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-0.0.3.tgz",
			"sha": "390432c78f8225c18243beb309829b35b32a96a7",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.0.tgz",
			"sha": "05afea93046a5fc897b0b2a5861d7bfd4eae3362",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.1.tgz",
			"sha": "513f1d761173f573313a105fa0f82c4cf1a8cffb",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.2.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.2.tgz",
			"sha": "aec0498187eb2bef92d6cde0aee0a39d0e5978ea",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.3.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.3.tgz",
			"sha": "1b8b4ac1982c966f63fd7d1e063ec80517adabe9",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.4.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.4.tgz",
			"sha": "19370df05ff1c87b62d4f80c0792106c39cf5380",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.5.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz",
			"sha": "cfe917cb3d274bcffac792758af53173eb1fabdc",
			"registry": "npmjs"
		},
		"seek-bzip-1.0.6.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.6.tgz",
			"sha": "35c4171f55a680916b52a07859ecf3b5857f21c4",
			"registry": "npmjs"
		},
		"seek-bzip-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-2.0.0.tgz",
			"sha": "f0478ab6acd0ac72345d18dc7525dd84d3c706a2",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"seek-bzip-1.0.5.tgz": {
			"shasum": "cfe917cb3d274bcffac792758af53173eb1fabdc"
		}
	},
	"_rev": "14-19451b61e78d9db5",
	"_id": "seek-bzip",
	"readme": "# seek-bzip\n\n[![Build Status][1]][2] [![dependency status][3]][4] [![dev dependency status][5]][6]\n\n`seek-bzip` is a pure-javascript Node.JS module adapted from [node-bzip](https://github.com/skeggse/node-bzip) and before that [antimatter15's pure-javascript bzip2 decoder](https://github.com/antimatter15/bzip2.js).  Like these projects, `seek-bzip` only does decompression (see [compressjs](https://github.com/cscott/compressjs) if you need compression code).  Unlike those other projects, `seek-bzip` can seek to and decode single blocks from the bzip2 file.\n\n`seek-bzip` primarily decodes buffers into other buffers, synchronously.\nWith the help of the [fibers](https://github.com/laverdet/node-fibers)\npackage, it can operate on node streams; see `test/stream.js` for an\nexample.\n\n## How to Install\n\n```\nnpm install seek-bzip\n```\n\nThis package uses\n[Typed Arrays](https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays), which are present in node.js >= 0.5.5.\n\n## Usage\n\nAfter compressing some example data into `example.bz2`, the following will recreate that original data and save it to `example`:\n\n```\nvar Bunzip = require('seek-bzip');\nvar fs = require('fs');\n\nvar compressedData = fs.readFileSync('example.bz2');\nvar data = Bunzip.decode(compressedData);\n\nfs.writeFileSync('example', data);\n```\n\nSee the tests in the `tests/` directory for further usage examples.\n\nFor uncompressing single blocks of bzip2-compressed data, you will need\nan out-of-band index listing the start of each bzip2 block.  (Presumably\nyou generate this at the same time as you index the start of the information\nyou wish to seek to inside the compressed file.)  The `seek-bzip` module\nhas been designed to be compatible with the C implementation `seek-bzip2`\navailable from https://bitbucket.org/james_taylor/seek-bzip2.  That codebase\ncontains a `bzip-table` tool which will generate bzip2 block start indices.\nThere is also a pure-JavaScript `seek-bzip-table` tool in this package's\n`bin` directory.\n\n## Documentation\n\n`require('seek-bzip')` returns a `Bunzip` object.  It contains three static\nmethods.  The first is a function accepting one or two parameters:\n\n`Bunzip.decode = function(input, [Number expectedSize] or [output], [boolean multistream])`\n\nThe `input` argument can be a \"stream\" object (which must implement the\n`readByte` method), or a `Buffer`.\n\nIf `expectedSize` is not present, `decodeBzip` simply decodes `input` and\nreturns the resulting `Buffer`.\n\nIf `expectedSize` is present (and numeric), `decodeBzip` will store\nthe results in a `Buffer` of length `expectedSize`, and throw an error\nin the case that the size of the decoded data does not match\n`expectedSize`.\n\nIf you pass a non-numeric second parameter, it can either be a `Buffer`\nobject (which must be of the correct length; an error will be thrown if\nthe size of the decoded data does not match the buffer length) or\na \"stream\" object (which must implement a `writeByte` method).\n\nThe optional third `multistream` parameter, if true, attempts to continue\nreading past the end of the bzip2 file.  This supports \"multistream\"\nbzip2 files, which are simply multiple bzip2 files concatenated together.\nIf this argument is true, the input stream must have an `eof` method\nwhich returns true when the end of the input has been reached.\n\nThe second exported method is a function accepting two or three parameters:\n\n`Bunzip.decodeBlock = function(input, Number blockStartBits, [Number expectedSize] or [output])`\n\nThe `input` and `expectedSize`/`output` parameters are as above.\nThe `blockStartBits` parameter gives the start of the desired block, in bits.\n\nIf passing a stream as the `input` parameter, it must implement the\n`seek` method.\n\nThe final exported method is a function accepting two or three parameters:\n\n`Bunzip.table = function(input, Function callback, [boolean multistream])`\n\nThe `input` and `multistream` parameters are identical to those for the\n`decode` method.\n\nThis function will invoke `callback(position, size)` once per bzip2 block,\nwhere `position` gives the starting position of the block (in *bits*), and\n`size` gives the uncompressed size of the block (in bytes).\n\nThis can be used to construct an index allowing direct access to a particular\nblock inside a bzip2 file, using the `decodeBlock` method.\n\n## Command-line\nThere are binaries available in bin.  The first generates an index of all\nthe blocks in a bzip2-compressed file:\n```\n$ bin/seek-bzip-table test/sample4.bz2\n32\t99981\n320555\t99981\n606348\t99981\n847568\t99981\n1089094\t99981\n1343625\t99981\n1596228\t99981\n1843336\t99981\n2090919\t99981\n2342106\t39019\n$\n```\nThe first field is the starting position of the block, in bits, and the\nsecond field is the length of the block, in bytes.\n\nThe second binary decodes an arbitrary block of a bzip2 file:\n```\n$ bin/seek-bunzip -d -b 2342106 test/sample4.bz2 | tail\nélan's\némigré\némigré's\némigrés\népée\népée's\népées\nétude\nétude's\nétudes\n$\n```\n\nUse `--help` to see other options.\n\n## Help wanted\n\nImprovements to this module would be generally useful.\nFeel free to fork on github and submit pull requests!\n\n## Related projects\n\n* https://github.com/skeggse/node-bzip node-bzip (original upstream source)\n* https://github.com/cscott/compressjs\n  Lots of compression/decompression algorithms from the same author as this\n  module, including bzip2 compression code.\n* https://github.com/cscott/lzjb fast LZJB compression/decompression\n\n## License\n\n#### MIT License\n\n> Copyright &copy; 2013-2015 C. Scott Ananian\n>\n> Copyright &copy; 2012-2015 Eli Skeggs\n>\n> Copyright &copy; 2011 Kevin Kwok\n>\n> Permission is hereby granted, free of charge, to any person obtaining\n> a copy of this software and associated documentation files (the\n> \"Software\"), to deal in the Software without restriction, including\n> without limitation the rights to use, copy, modify, merge, publish,\n> distribute, sublicense, and/or sell copies of the Software, and to\n> permit persons to whom the Software is furnished to do so, subject to\n> the following conditions:\n>\n> The above copyright notice and this permission notice shall be\n> included in all copies or substantial portions of the Software.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[1]: https://travis-ci.org/cscott/seek-bzip.png\n[2]: https://travis-ci.org/cscott/seek-bzip\n[3]: https://david-dm.org/cscott/seek-bzip.png\n[4]: https://david-dm.org/cscott/seek-bzip\n[5]: https://david-dm.org/cscott/seek-bzip/dev-status.png\n[6]: https://david-dm.org/cscott/seek-bzip#info=devDependencies"
}