{"_id":"pngparse-sync","_rev":"8-838b216fca2020d0e22cee5d66937021","name":"pngparse-sync","description":"Synchronously parse a PNG file","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"pngparse-sync","version":"1.0.0","description":"Synchronously parse a PNG file","keywords":["png","image"],"author":{"name":"Mikola Lysenko","email":"mikolalysenko@gmail.com"},"repository":{"type":"git","url":"git@github.com:mikolalysenko/pngparse-sync.git"},"main":"./index","dependencies":{"pako":"^0.2.1"},"devDependencies":{"tape":"^2.13.1"},"scripts":{"test":"tape test/*.js"},"license":"Public domain","bugs":{"url":"https://github.com/mikolalysenko/pngparse-sync/issues"},"homepage":"https://github.com/mikolalysenko/pngparse-sync","_id":"pngparse-sync@1.0.0","dist":{"shasum":"7ae07bf58ef3ffb1a23833cb281729e4d5cb805b","tarball":"https://registry.npmjs.org/pngparse-sync/-/pngparse-sync-1.0.0.tgz","integrity":"sha512-XszEK6aUlydHkms32VIpH6se8FgHwhG4z05a0CcLT5grqykJElYxP+F3yUmLrZyaKzyRp9zmT6RjEazEoaCuFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUVQINgHN7PSAtt0CEhBEWYif3bNQHgZn1VisZLa0MqgIhANsdbBec9UCoz9Jgb15HoGhwMDvJhP6KbRmphM+Elalw"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.1":{"name":"pngparse-sync","version":"1.0.1","description":"Synchronously parse a PNG file","keywords":["png","image"],"author":{"name":"Mikola Lysenko","email":"mikolalysenko@gmail.com"},"repository":{"type":"git","url":"git@github.com:mikolalysenko/pngparse-sync.git"},"main":"./index","dependencies":{"pako":"^0.2.1"},"devDependencies":{"tape":"^2.13.1"},"scripts":{"test":"tape test/*.js"},"license":"Public domain","bugs":{"url":"https://github.com/mikolalysenko/pngparse-sync/issues"},"homepage":"https://github.com/mikolalysenko/pngparse-sync","_id":"pngparse-sync@1.0.1","dist":{"shasum":"0ea76b8b13da9c95605ad7c6b35df55ed22f21a2","tarball":"https://registry.npmjs.org/pngparse-sync/-/pngparse-sync-1.0.1.tgz","integrity":"sha512-pVHnSHj2S/Rmn6k3L0SJW++jia8LPtIe+ORhrRCG5pKis+lFe2s74l7dRRsmPUFaVDiEstCfySpqcBJOLAR63g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFGAhCREmB0WwXPMHkIFtMdzfzm39+GUNv+1ddpz/GRAIhANg13zw1XMKZDIToJOxtSeWJuuINuSa6O3nafGxT9Hvz"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.2":{"name":"pngparse-sync","version":"1.0.2","description":"Synchronously parse a PNG file","keywords":["png","image"],"author":{"name":"Mikola Lysenko","email":"mikolalysenko@gmail.com"},"repository":{"type":"git","url":"git@github.com:mikolalysenko/pngparse-sync.git"},"main":"./index","dependencies":{"pako":"^0.2.1"},"devDependencies":{"tape":"^2.13.1"},"scripts":{"test":"tape test/*.js"},"license":"Public domain","bugs":{"url":"https://github.com/mikolalysenko/pngparse-sync/issues"},"homepage":"https://github.com/mikolalysenko/pngparse-sync","_id":"pngparse-sync@1.0.2","dist":{"shasum":"0733b4f7611aeef6f3e405040b942faf13aa357e","tarball":"https://registry.npmjs.org/pngparse-sync/-/pngparse-sync-1.0.2.tgz","integrity":"sha512-LteruApcUR0QvhDVoStzI+b3omkwTexNqDyTPCESWyo4hCGKViltap/m6zi4a02HaWbUUrGEgz7OR3Fegr+Iuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7BCh7MBLC9Ryy56urkcRcREvF009FjyrXnz37E04zWAiApPUtQaJ6gE3aU60wq7xcXAF+ypgilb0jI5KYtn38ihg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]}},"readme":"pngparse-sync\n=============\nThis is a fork of [`pngparse`](https://www.npmjs.org/package/pngparse) that synchronously parses PNG data encoded as buffers.  It works in both node.js and browserify.\n\n# Example\n\n```javascript\nvar fs = require(\"fs\")\nvar parsePNG = require(\"pngparse-sync\")\n\nconsole.log(parsePNG(fs.readFileSync(\"myimage.png\")))\n```\n\n# Install\n\n```\nnpm install pngparse-sync\n```\n\n# API\n\n#### `require(\"pngparse-sync\")(buffer)`\nParses a buffer synchronously into a PNG\n\n* `buffer` is a `Buffer`\n\n**Returns** `null` if there was an error parsing the PNG file, or an object with the following properties:\n\n* `width` the width of the image in pixels\n* `height` the height of the image in pixels\n* `channels` the number of channels in the image\n* `data` a Uint8Array storing the pixels of the image\n\nLicense\n=======\nThis software is available in the public domain.\n\npngparse was originally written by @ironwallaby\n\npngparse-sync port by Mikola Lysenko.","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-24T05:20:59.539Z","created":"2014-05-22T10:01:52.437Z","1.0.0":"2014-05-22T10:01:52.437Z","1.0.1":"2014-05-22T10:17:55.418Z","1.0.2":"2014-05-22T10:21:12.110Z"},"homepage":"https://github.com/mikolalysenko/pngparse-sync","keywords":["png","image"],"repository":{"type":"git","url":"git@github.com:mikolalysenko/pngparse-sync.git"},"author":{"name":"Mikola Lysenko","email":"mikolalysenko@gmail.com"},"bugs":{"url":"https://github.com/mikolalysenko/pngparse-sync/issues"},"license":"Public domain","readmeFilename":"README.md"}