{"_id":"parse-bmfont-binary","_rev":"8-8e7898d0d78e607ae4faf56ef26a844c","name":"parse-bmfont-binary","description":"reads a BMFont binary in a Buffer into a JSON object","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.4":{"name":"parse-bmfont-binary","version":"1.0.4","description":"reads a BMFont binary in a Buffer into a JSON object","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"tape":"^3.5.0"},"scripts":{"test":"node test/test.js"},"keywords":["bmfont","bitmap","font","angel","code","angelcode","fonts","text","layout","glyph","glyphdesigner","canvas","webgl"],"repository":{"type":"git","url":"git://github.com/Jam3/parse-bmfont-binary.git"},"homepage":"https://github.com/Jam3/parse-bmfont-binary","bugs":{"url":"https://github.com/Jam3/parse-bmfont-binary/issues"},"gitHead":"b1d48bb1f064ad40999012a43bf67c74ac342cf7","_id":"parse-bmfont-binary@1.0.4","_shasum":"a8785003fe5fa75f760fd73f02e444c2b914f049","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"a8785003fe5fa75f760fd73f02e444c2b914f049","tarball":"https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.4.tgz","integrity":"sha512-TDU0Wdf3X/i5SY7ow+VWViginmWQuhylwISwV+ofKwt077ULI2lfIVLpRqpCxtGArEtuZ+ZWO4gF2jd9hRrjiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpJyfuVCXUEEuAXPM7FR9JwEge5ajBDdvDcUORV0h3uQIhAIE3Qgep18pXFAXx0mqPgVbmhCdhlnPJMle1PmLxiIHT"}]}},"1.0.5":{"name":"parse-bmfont-binary","version":"1.0.5","description":"reads a BMFont binary in a Buffer into a JSON object","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"tape":"^3.5.0"},"scripts":{"test":"node test/test.js"},"keywords":["bmfont","bitmap","font","angel","code","angelcode","fonts","text","layout","glyph","glyphdesigner","canvas","webgl"],"repository":{"type":"git","url":"git://github.com/Jam3/parse-bmfont-binary.git"},"homepage":"https://github.com/Jam3/parse-bmfont-binary","bugs":{"url":"https://github.com/Jam3/parse-bmfont-binary/issues"},"gitHead":"f3ef0ae4a4e3db3704c7486f7605ccd41bca9c49","_id":"parse-bmfont-binary@1.0.5","_shasum":"1befee65d4ec22d17c26b87e03c47356f9320a89","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"1befee65d4ec22d17c26b87e03c47356f9320a89","tarball":"https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.5.tgz","integrity":"sha512-RXZxvKLPRNPGKRuDW6gxrRufjNVpICVMnjsQzPRlknTUXQtsv9TjHDXqKCaPVAvbKVBRluomZWZbMPBPNxhqLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPzkWDMQ+9tqm6XvyOIVCGgl5tvXaIzDS960+EpuDlzAIgWFpnperl5sxn5seQ6Jdubey4Ajr5Q8G13cAoQBq+7Ac="}]}},"1.0.6":{"name":"parse-bmfont-binary","version":"1.0.6","description":"reads a BMFont binary in a Buffer into a JSON object","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"tape":"^3.5.0"},"scripts":{"test":"node test/test.js"},"keywords":["bmfont","bitmap","font","angel","code","angelcode","fonts","text","layout","glyph","glyphdesigner","canvas","webgl"],"repository":{"type":"git","url":"git://github.com/Jam3/parse-bmfont-binary.git"},"homepage":"https://github.com/Jam3/parse-bmfont-binary","bugs":{"url":"https://github.com/Jam3/parse-bmfont-binary/issues"},"gitHead":"85679cb9e76d5b7f002ec8394af9729421b3e158","_id":"parse-bmfont-binary@1.0.6","_shasum":"d038b476d3e9dd9db1e11a0b0e53a22792b69006","_from":".","_npmVersion":"2.8.2","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"d038b476d3e9dd9db1e11a0b0e53a22792b69006","tarball":"https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.6.tgz","integrity":"sha512-GxmsRea0wdGdYthjuUeWTMWPqm2+FAd4GI8vCvhgJsFnoGhTrLhXDDupwTo7rXVAgaLIGoVHDZS9p/5XbSqeWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHL+vF9+x0gHyz89WqzDO6RUmgh4n89wRvCppfrg50FAiEAkCFob5owsTjyavAjrTQivukXj1w6qCfWuBhu+q3J5qM="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}]}},"readme":"# parse-bmfont-binary\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nEncodes a BMFont from a binary Buffer into JSON, as per the [BMFont Spec](http://www.angelcode.com/products/bmfont/doc/file_format.html). Can be used in Node or the browser (e.g. with browserify).\n\n```js\nvar parse = require('parse-bmfont-binary')\n\nfs.readFile('fonts/Lato.bin', function(err, data) {\n  if (err) throw err\n  var font = parse(data)\n  \n  //do something with your font\n  console.log(font.info.face)\n  console.log(font.info.size)\n  console.log(font.common.lineHeight)\n  console.log(font.chars)\n  console.log(font.kernings)\n})\n```\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-binary.png)](https://www.npmjs.com/package/parse-bmfont-binary)\n\n#### `font = parse(buffer)`\n\nReads a binary BMFont Buffer and returns a new JSON representation of that font. See [here](https://github.com/mattdesl/bmfont2json/wiki/JsonSpec) for details on the return format.\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/Jam3/parse-bmfont-binary/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-23T10:28:12.556Z","created":"2015-03-14T18:00:40.307Z","1.0.4":"2015-03-14T18:00:40.307Z","1.0.5":"2015-03-14T19:27:46.189Z","1.0.6":"2015-04-27T18:30:18.822Z"},"homepage":"https://github.com/Jam3/parse-bmfont-binary","keywords":["bmfont","bitmap","font","angel","code","angelcode","fonts","text","layout","glyph","glyphdesigner","canvas","webgl"],"repository":{"type":"git","url":"git://github.com/Jam3/parse-bmfont-binary.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/Jam3/parse-bmfont-binary/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mojaray2k":true}}