{
	"name": "parse-bmfont-xml",
	"versions": {
		"1.0.0": {
			"name": "parse-bmfont-xml",
			"version": "1.0.0",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "index.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml2js": "^0.4.5"
			},
			"devDependencies": {},
			"scripts": {
				"test": "node test/test.js"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "87c7a437425345bcafc896ec91d42235dddbabfb",
			"_id": "parse-bmfont-xml@1.0.0",
			"_shasum": "0a720f1ef514c7aa2e233a95752df58429c9319b",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "0a720f1ef514c7aa2e233a95752df58429c9319b",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.0.1": {
			"name": "parse-bmfont-xml",
			"version": "1.0.1",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "index.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml2js": "^0.4.5"
			},
			"devDependencies": {},
			"scripts": {
				"test": "node test/test.js"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "683d04317e89d336d275f73a755366ee81329e84",
			"_id": "parse-bmfont-xml@1.0.1",
			"_shasum": "bd99518862fb600af6b6cd2c3935435cc4523473",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "bd99518862fb600af6b6cd2c3935435cc4523473",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.0.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.0": {
			"name": "parse-bmfont-xml",
			"version": "1.1.0",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "lib/index.js",
			"browser": "lib/browser.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xhr": "^2.0.1",
				"xml-parse-from-string": "^1.0.0",
				"xml2js": "^0.4.5",
				"xtend": "^4.0.0"
			},
			"devDependencies": {
				"brfs": "^1.4.0",
				"browserify": "^9.0.3",
				"faucet": "0.0.1",
				"testling": "^1.7.1"
			},
			"scripts": {
				"test-browser": "browserify test/test-browser.js -t brfs | testling | faucet",
				"test-node": "node test/test.js | faucet",
				"test": "npm run test-node && npm run test-browser"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "381316e356e0e0d58fb656c43d73d4ec40559d30",
			"_id": "parse-bmfont-xml@1.1.0",
			"_shasum": "9be3af7827fd8ae61954b2decec10647edaa7cb7",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "9be3af7827fd8ae61954b2decec10647edaa7cb7",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.1": {
			"name": "parse-bmfont-xml",
			"version": "1.1.1",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "lib/index.js",
			"browser": "lib/browser.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml-parse-from-string": "^1.0.0",
				"xml2js": "^0.4.5"
			},
			"devDependencies": {
				"brfs": "^1.4.0",
				"browserify": "^9.0.3",
				"faucet": "0.0.1",
				"tape": "^3.5.0",
				"testling": "^1.7.1",
				"xhr": "^2.0.1"
			},
			"scripts": {
				"test-browser": "browserify test/test-browser.js -t brfs | testling | faucet",
				"test-node": "node test/test.js | faucet",
				"test": "npm run test-node && npm run test-browser"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "b69410195da54d973ba0cfae785fbded39c7ce4f",
			"_id": "parse-bmfont-xml@1.1.1",
			"_shasum": "d1774f1eeb765a90aae361f5ef22ac3ff65333d9",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "d1774f1eeb765a90aae361f5ef22ac3ff65333d9",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.2": {
			"name": "parse-bmfont-xml",
			"version": "1.1.2",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "lib/index.js",
			"browser": "lib/browser.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml-parse-from-string": "^1.0.0",
				"xml2js": "^0.4.5"
			},
			"devDependencies": {
				"brfs": "^1.4.0",
				"browserify": "^9.0.3",
				"faucet": "0.0.1",
				"tape": "^3.5.0",
				"testling": "^1.7.1",
				"xhr": "^2.0.1"
			},
			"scripts": {
				"test-browser": "browserify test/test-browser.js -t brfs | testling | faucet",
				"test-node": "node test/test.js | faucet",
				"test": "npm run test-node && npm run test-browser"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "8b4f9e57b02215fd3f1efb2f7085b74bd58ffb38",
			"_id": "parse-bmfont-xml@1.1.2",
			"_shasum": "deaab46a13b1537d92736821559e21eb515bb471",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "deaab46a13b1537d92736821559e21eb515bb471",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.2.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.3": {
			"name": "parse-bmfont-xml",
			"version": "1.1.3",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "lib/index.js",
			"browser": "lib/browser.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml-parse-from-string": "^1.0.0",
				"xml2js": "^0.4.5"
			},
			"devDependencies": {
				"brfs": "^1.4.0",
				"browserify": "^9.0.3",
				"faucet": "0.0.1",
				"tape": "^3.5.0",
				"testling": "^1.7.1",
				"xhr": "^2.0.1"
			},
			"scripts": {
				"test-browser": "browserify test/test-browser.js -t brfs | testling | faucet",
				"test-node": "node test/test.js | faucet",
				"test": "npm run test-node && npm run test-browser"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "4a22fe8ac0ac82ead4de5b6988b436e376456baa",
			"_id": "parse-bmfont-xml@1.1.3",
			"_shasum": "d6b66a371afd39c5007d9f0eeb262a4f2cce7b7c",
			"_from": ".",
			"_npmVersion": "1.4.28",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"dist": {
				"shasum": "d6b66a371afd39c5007d9f0eeb262a4f2cce7b7c",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.3.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.1.4": {
			"name": "parse-bmfont-xml",
			"version": "1.1.4",
			"description": "parses XML BMFont files into a JavaScript object",
			"main": "lib/index.js",
			"browser": "lib/browser.js",
			"license": "MIT",
			"author": {
				"name": "Matt DesLauriers",
				"email": "dave.des@gmail.com",
				"url": "https://github.com/mattdesl"
			},
			"dependencies": {
				"xml-parse-from-string": "^1.0.0",
				"xml2js": "^0.4.5"
			},
			"devDependencies": {
				"brfs": "^1.4.0",
				"browserify": "^9.0.3",
				"faucet": "0.0.1",
				"tape": "^3.5.0",
				"testling": "^1.7.1",
				"xhr": "^2.0.1"
			},
			"scripts": {
				"test-browser": "browserify test/test-browser.js -t brfs | testling | faucet",
				"test-node": "node test/test.js | faucet",
				"test": "npm run test-node && npm run test-browser"
			},
			"keywords": [
				"xml",
				"parse",
				"convert",
				"bmfont",
				"bm",
				"bitmap",
				"font",
				"bitmaps",
				"angel",
				"angelcode",
				"code",
				"text",
				"gl",
				"sprite",
				"sprites",
				"stackgl"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/mattdesl/parse-bmfont-xml.git"
			},
			"homepage": "https://github.com/mattdesl/parse-bmfont-xml",
			"bugs": {
				"url": "https://github.com/mattdesl/parse-bmfont-xml/issues"
			},
			"gitHead": "0ce406408e47c606ae7c9d2881aa858d7a3a7328",
			"_id": "parse-bmfont-xml@1.1.4",
			"_npmVersion": "6.1.0",
			"_nodeVersion": "8.10.0",
			"_npmUser": {
				"name": "mattdesl",
				"email": "dave.des@gmail.com"
			},
			"dist": {
				"integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM+mCQ==",
				"shasum": "015319797e3e12f9e739c4d513872cd2fa35f389",
				"tarball": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz",
				"fileCount": 6,
				"unpackedSize": 8892,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc97KCRA9TVsSAnZWagAAkD0QAJ3BxdtddAmfuptkyhic\nOnAqXD1sj/LMZ+EnZWXD5k7amxfMS3R3GmYgTFCz9015xBKVJ+1DbeifH5UF\nwQ5ppeNLuODJiX6Qd2EaGlohj5fUAsusB9KiyYRqULFQwK9AHtkFMZDTwBaN\n+HghWkbGj10ttG3z4r+YBeLshrFRL0S+teZo84I5FA2mayVF509aUx2bSv0s\nry6hGY4/9aNsTc2EyAej21bTv8R7O57saAF1C/fG3O22JaynAlhIhxRV0ozX\nDz6tGoOusYGX+DKRl8U6LBqQSdxVo82KfAaJgBejiwJ/63SGJVBKpfQ+M7Td\nJ/ZPv9JixVI3qZqTAnrzR6v27Ts/NJCapwZkDl93K71IhY+VaKXhso36fOd/\nnNoBfHb0bcDnyBXczG28lidU+qbCjWlm2/CDJ1wzyOPRRx0yRFa5HGXXamG/\n8uTjaWPfd34tkfMwYWjeu/2SL2ypGiDTHBYfC6Fzy+ENDlEGu9g5HaV0MOlA\nIDD8/nb5Ti6XsTN15PtvwAsEuym3zsiMLJGjAbU1aAA4IZnfxAScKtTzRSGu\njp54PlQbFN0UXIA0dCZ4tfNC7XJ+v+D+Refi2WfEU1vUcnsnN/C8TSTrSt8S\n1wA/XVc9VoW4WVbViE1GNADWixUrGmk7ejvU3vNdaUhd8d1WTPWm04yXRfRS\nf7oY\r\n=eBL1\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "mattdesl",
					"email": "dave.des@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/parse-bmfont-xml_1.1.4_1534320330889_0.1406218956033043"
			},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-08-15T08:05:34.135Z",
		"created": "2015-03-10T20:15:30.543Z",
		"1.0.0": "2015-03-10T20:15:30.543Z",
		"1.0.1": "2015-03-10T20:19:03.721Z",
		"1.1.0": "2015-03-13T19:07:34.783Z",
		"1.1.1": "2015-03-13T19:30:55.974Z",
		"1.1.2": "2015-03-13T20:25:10.023Z",
		"1.1.3": "2015-03-14T19:27:14.196Z",
		"1.1.4": "2018-08-15T08:05:30.970Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.1.4"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"c2369cadce5cbf2cd05f0f3f29ab8c34\"",
			"fetched": 1593324307080
		}
	},
	"_distfiles": {
		"parse-bmfont-xml-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.0.0.tgz",
			"sha": "0a720f1ef514c7aa2e233a95752df58429c9319b",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.0.1.tgz",
			"sha": "bd99518862fb600af6b6cd2c3935435cc4523473",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.1.0.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.0.tgz",
			"sha": "9be3af7827fd8ae61954b2decec10647edaa7cb7",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.1.1.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.1.tgz",
			"sha": "d1774f1eeb765a90aae361f5ef22ac3ff65333d9",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.1.2.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.2.tgz",
			"sha": "deaab46a13b1537d92736821559e21eb515bb471",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.1.3.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.3.tgz",
			"sha": "d6b66a371afd39c5007d9f0eeb262a4f2cce7b7c",
			"registry": "npmjs"
		},
		"parse-bmfont-xml-1.1.4.tgz": {
			"url": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz",
			"sha": "015319797e3e12f9e739c4d513872cd2fa35f389",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"parse-bmfont-xml-1.1.4.tgz": {
			"shasum": "015319797e3e12f9e739c4d513872cd2fa35f389"
		}
	},
	"_rev": "2-851d9311644068e4",
	"_id": "parse-bmfont-xml",
	"readme": "# parse-bmfont-xml\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nParses XML [BMFont files](http://www.angelcode.com/products/bmfont/).\n\nTakes a string or Buffer:\n\n```js\nvar fs = require('fs')\nvar parse = require('parse-bmfont-xml')\n\nfs.readFileSync(__dirname+'/Arial.fnt', function(err, data) {\n  var result = parse(data)\n  console.log(result.info.face)   // \"Arial\"\n  console.log(result.pages)       // [ 'sheet0.png' ]\n  console.log(result.chars)       // [ ... char data ... ]\n  console.log(result.kernings)    // [ ... kernings data ... ]\n})\n```\n\nAlso works in the browser, for example using XHR:\n\n```js\nvar parse = require('parse-bmfont-xml')\nvar xhr = require('xhr')\n\nxhr({ uri: 'fonts/NexaLight32.xml' }, function(err, res, body) {\n  if (err)\n    throw err\n  var result = parse(body)\n  console.log(result.info.face)\n})\n```\n\nThe spec for the returned JSON object is [here](https://github.com/mattdesl/bmfont2json/wiki/JsonSpec). The input XML should match the spec with a `<font>` root element, see [test/Nexa Light-32.fnt](test/Nexa Light-32.fnt) for an example.\n\n## See Also\n\nSee [text-modules](https://github.com/mattdesl/text-modules) for related modules.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/parse-bmfont-xml.png)](https://www.npmjs.com/package/parse-bmfont-xml)\n\n#### `result = parse(data)`\n\nParses `data`, a string or Buffer that represents XML data of an AngelCode BMFont file. The returned `result` object looks like this:\n\n```js\n{\n     pages: [\n         \"sheet_0.png\", \n         \"sheet_1.png\"\n     ],\n     chars: [\n         { chnl, height, id, page, width, x, y, xoffset, yoffset, xadvance },\n         ...\n     ],\n     info: { ... },\n     common: { ... },\n     kernings: [\n         { first, second, amount }\n     ]\n}\n```\n\nIf the data is malformed, an error will be thrown.\n\nThe browser implementation relies on [xml-parse-from-string](https://github.com/Jam3/xml-parse-from-string), which may not work in environments without valid DOM APIs (like CocoonJS).\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/mattdesl/parse-bmfont-xml/blob/master/LICENSE.md) for details."
}