{
	"name": "bmp-js",
	"versions": {
		"0.0.1": {
			"name": "bmp-js",
			"version": "0.0.1",
			"description": "A pure javascript BMP encoder and decoder",
			"main": "index.js",
			"repository": {
				"type": "git",
				"url": "https://github.com/shaozilee/bmp-js"
			},
			"keywords": [
				"bmp",
				"1bit",
				"4bit",
				"8bit",
				"24bit",
				"encoder",
				"decoder",
				"image",
				"javascript",
				"js"
			],
			"author": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"license": "MIT",
			"dependencies": {},
			"devDependencies": {},
			"bugs": {
				"url": "https://github.com/shaozilee/bmp-js/issues"
			},
			"homepage": "https://github.com/shaozilee/bmp-js",
			"_id": "bmp-js@0.0.1",
			"_shasum": "5ad0147099d13a9f38aa7b99af1d6e78666ed37f",
			"_from": ".",
			"_npmVersion": "1.4.9",
			"_npmUser": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"maintainers": [
				{
					"name": "shaozilee",
					"email": "shaozilee@gmail.com"
				}
			],
			"dist": {
				"shasum": "5ad0147099d13a9f38aa7b99af1d6e78666ed37f",
				"tarball": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"0.0.2": {
			"name": "bmp-js",
			"version": "0.0.2",
			"description": "A pure javascript BMP encoder and decoder",
			"main": "index.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/shaozilee/bmp-js.git"
			},
			"keywords": [
				"bmp",
				"1bit",
				"4bit",
				"8bit",
				"24bit",
				"encoder",
				"decoder",
				"image",
				"javascript",
				"js"
			],
			"author": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"license": "MIT",
			"dependencies": {},
			"devDependencies": {},
			"gitHead": "a93b7b4d1afeeb2a52c3bb96969e158d6403a142",
			"bugs": {
				"url": "https://github.com/shaozilee/bmp-js/issues"
			},
			"homepage": "https://github.com/shaozilee/bmp-js#readme",
			"_id": "bmp-js@0.0.2",
			"scripts": {},
			"_shasum": "c268321f8085df177dfcaaa059c19254862fa158",
			"_from": ".",
			"_npmVersion": "3.8.3",
			"_nodeVersion": "5.10.1",
			"_npmUser": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"dist": {
				"shasum": "c268321f8085df177dfcaaa059c19254862fa158",
				"tarball": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.2.tgz"
			},
			"maintainers": [
				{
					"name": "shaozilee",
					"email": "shaozilee@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/bmp-js-0.0.2.tgz_1472181302837_0.6284751661587507"
			},
			"directories": {},
			"contributors": []
		},
		"0.0.3": {
			"name": "bmp-js",
			"version": "0.0.3",
			"description": "A pure javascript BMP encoder and decoder",
			"main": "index.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/shaozilee/bmp-js.git"
			},
			"keywords": [
				"bmp",
				"1bit",
				"4bit",
				"8bit",
				"24bit",
				"encoder",
				"decoder",
				"image",
				"javascript",
				"js"
			],
			"author": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"license": "MIT",
			"dependencies": {},
			"devDependencies": {},
			"gitHead": "ed420afbf1682ebe34abcbbe23dfbcabaaf161f0",
			"bugs": {
				"url": "https://github.com/shaozilee/bmp-js/issues"
			},
			"homepage": "https://github.com/shaozilee/bmp-js#readme",
			"_id": "bmp-js@0.0.3",
			"scripts": {},
			"_shasum": "64113e9c7cf1202b376ed607bf30626ebe57b18a",
			"_from": ".",
			"_npmVersion": "2.14.20",
			"_nodeVersion": "4.4.1",
			"_npmUser": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"dist": {
				"shasum": "64113e9c7cf1202b376ed607bf30626ebe57b18a",
				"tarball": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.3.tgz"
			},
			"maintainers": [
				{
					"name": "shaozilee",
					"email": "shaozilee@gmail.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/bmp-js-0.0.3.tgz_1479792875581_0.47241814457811415"
			},
			"directories": {},
			"contributors": []
		},
		"0.1.0": {
			"name": "bmp-js",
			"version": "0.1.0",
			"description": "A pure javascript BMP encoder and decoder",
			"main": "index.js",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/shaozilee/bmp-js.git"
			},
			"keywords": [
				"bmp",
				"1bit",
				"4bit",
				"8bit",
				"16bit",
				"24bit",
				"32bit",
				"encoder",
				"decoder",
				"image",
				"javascript",
				"js"
			],
			"author": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"license": "MIT",
			"dependencies": {},
			"devDependencies": {},
			"gitHead": "60fa5ad6ac2f0ce0d2d157de187831a82cdb2cd6",
			"bugs": {
				"url": "https://github.com/shaozilee/bmp-js/issues"
			},
			"homepage": "https://github.com/shaozilee/bmp-js#readme",
			"_id": "bmp-js@0.1.0",
			"scripts": {},
			"_shasum": "e05a63f796a6c1ff25f4771ec7adadc148c07233",
			"_from": ".",
			"_npmVersion": "3.10.10",
			"_nodeVersion": "6.10.3",
			"_npmUser": {
				"name": "shaozilee",
				"email": "shaozilee@gmail.com"
			},
			"dist": {
				"shasum": "e05a63f796a6c1ff25f4771ec7adadc148c07233",
				"tarball": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz",
				"fileCount": 35,
				"unpackedSize": 645720,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3Wh5CRA9TVsSAnZWagAA8okP/jyfoIcI+z/+YaI0crdy\ntT9deE9Hh02TTj6YJ9SqmFJ8pMNPEwee22MMCM/aZYYP7jHY1MlEO4sfVxMj\nZGGgH09QJNDlGUcW+39LYREVIyrj3XyALaFVqzbbJxtnMKutn2+oAKZO0u1V\n915Zauh9NMOq/nClo+wzs1cV35zZ+G9YNGqTLxJQcPEuVjXYbFx9WEwXLLS4\nZaGu9ywNlPT6gAmFZd3NwIs2eMKEXeb+oEXj7qdcPA+pXXTjWHyh//iA77AM\nwlfXX23+Faa9VZzh1Ou9VCqPYSaEeA+cv47HSx3kyu/TcGpD8x/dBhPw1z8v\nAGE0ndFcGwDk+k3jSYmcsvFyaYiHg9M6B6q80Poj++ir8DLw6lHOc+AUhYkS\nwofZSTO7lcjXrRYrMbgXxZsHrQUp+FaGuihPqre1AoruUfl6TtowxUzfMhnc\n6sJ/AYWc2TFfoMi5cXUALVw1RcmwIwQbO6jfGGqZhLEW4at/z2XuLR3T0IBu\nX/O06EvC9W28tN8Jf7A3H6x4HZq7ni1zr3ruDT8ndLs0FpIUvupVBQF2Era8\nv5/ooJiJpIOUcfVCkoDbX8lUKBAil2LaGED4+vObQYi02+r0sXK+bpH8bCkt\nzb9wHmq7e/fX490mDM+HDLX6WLYJ/Zjdq6cID7VBEHEBp7HqT+BIUe2geW6D\nsXpO\r\n=Z50r\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "shaozilee",
					"email": "shaozilee@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/bmp-js_0.1.0_1524459640834_0.7767685293103714"
			},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-04-23T05:00:44.514Z",
		"created": "2014-08-04T07:23:12.671Z",
		"0.0.1": "2014-08-04T07:23:12.671Z",
		"0.0.2": "2016-08-26T03:15:04.595Z",
		"0.0.3": "2016-11-22T05:34:37.598Z",
		"0.1.0": "2018-04-23T05:00:40.902Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.1.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"77f258cca64e9a4bd08579f6d430389a\"",
			"fetched": 1593324464995
		}
	},
	"_distfiles": {
		"bmp-js-0.0.1.tgz": {
			"url": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.1.tgz",
			"sha": "5ad0147099d13a9f38aa7b99af1d6e78666ed37f",
			"registry": "npmjs"
		},
		"bmp-js-0.0.2.tgz": {
			"url": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.2.tgz",
			"sha": "c268321f8085df177dfcaaa059c19254862fa158",
			"registry": "npmjs"
		},
		"bmp-js-0.0.3.tgz": {
			"url": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.0.3.tgz",
			"sha": "64113e9c7cf1202b376ed607bf30626ebe57b18a",
			"registry": "npmjs"
		},
		"bmp-js-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz",
			"sha": "e05a63f796a6c1ff25f4771ec7adadc148c07233",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"bmp-js-0.0.3.tgz": {
			"shasum": "64113e9c7cf1202b376ed607bf30626ebe57b18a"
		}
	},
	"_rev": "2-8f1bb50abee8b274",
	"_id": "bmp-js",
	"readme": "bmp-js\n======\n\nA pure javascript Bmp encoder and decoder for node.js\n\nSupports all bits decoding(1,4,8,16,24,32) and encoding with 24bit.\n\n##Install\n\n\t$ npm install bmp-js\n\n\nHow to use?\n---\n###Decode BMP\n```js\nvar bmp = require(\"bmp-js\");\nvar bmpBuffer = fs.readFileSync('bit24.bmp');\nvar bmpData = bmp.decode(bmpBuffer);\n\n```\n\n`bmpData` has all properties includes:\n\n1. fileSize,reserved,offset\n\n2. headerSize,width,height,planes,bitPP,compress,rawSize,hr,vr,colors,importantColors\n\n3. palette\n\n4. data-------byte array order by ABGR ABGR ABGR,4 bytes per pixel\n\n\n###Encode RGB\n```js\nvar bmp = require(\"bmp-js\");\n//bmpData={data:Buffer,width:Number,height:Height}\nvar rawData = bmp.encode(bmpData);//default no compression,write rawData to .bmp file\n\n```\n\nLicense\n---\nU can use on free with [MIT License](https://github.com/shaozilee/bmp-js/blob/master/LICENSE)"
}