{"maintainers":[{"name":"deployment","email":"devongovett@gmail.com"}],"dist-tags":{"latest":"1.0.0"},"author":{"name":"Devon Govett","email":"devongovett@gmail.com","url":"http://badassjs.com/"},"description":"A PNG decoder in JavaScript","readme":"png.js\n======\nA PNG decoder in JS for the canvas element or Node.js.\n\n## Browser Usage\nSimply include png.js and zlib.js on your HTML page, create a canvas element, and call PNG.load to load an image.\n\n    <canvas></canvas>\n    <script src=\"zlib.js\"></script>\n    <script src=\"png.js\"></script>\n    <script>\n        var canvas = document.getElementsByTagName('canvas')[0];\n        PNG.load('some.png', canvas);\n    </script>\n    \nThe source code for the browser version resides in `png.js` and also supports loading and displaying animated PNGs.\n    \n## Node.js Usage\nInstall the module using npm\n\n    sudo npm install png-js\n    \nRequire the module and decode a PNG\n\n    var PNG = require('png-js');\n    PNG.decode('some.png', function(pixels) {\n        // pixels is a 1d array (in rgba order) of decoded pixel data\n    });\n    \nYou can also call `PNG.load` if you want to load the PNG (but not decode the pixels) synchronously.  If you already\nhave the PNG data in a buffer, simply use `new PNG(buffer)`.  In both of these cases, you need to call `png.decode`\nyourself which passes your callback the decoded pixels as a buffer.  If you already have a buffer you want the pixels\ncopied to, call `copyToImageData` with your buffer and the decoded pixels as returned from `decodePixels`.\n","repository":{"type":"git","url":"git+https://github.com/devongovett/png.js.git"},"users":{"bonez":true,"heineiuo":true},"bugs":{"url":"http://github.com/devongovett/png.js/issues"},"versions":{"0.1.0":{"name":"png-js","description":"A PNG decoder in CoffeeScript","version":"0.1.0","author":{"name":"Devon Govett","email":"devongovett@gmail.com","url":"http://badassjs.com/"},"repository":{"type":"git","url":"git://github.com/devongovett/png.js.git"},"bugs":{"name":"http://github.com/devongovett/png.js/issues"},"devDependencies":{"coffee-script":">=1.0.1"},"scripts":{"prepublish":"coffee -c png-node.coffee"},"main":"png-node.js","engine":["node >= v0.6.0"],"_npmUser":{"name":"deployment","email":"devongovett@gmail.com"},"_id":"png-js@0.1.0","dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"f419b6986e0fea35ca05f0f461926870f9e37db6","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/png-js/-/png-js-0.1.0.tgz","integrity":"sha512-wNwtUkSipoEcfrUay0xKQAWA/LAmjuhcdkkU+hmxG/No3cjWJrXCCw48WiSwcthCD6glogNnxZdU/FkR71A3mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfaJeLMcpUBRA2Yzkv2qZWqcSz9PHvPtgOueRvxJqrNgIgWUhwZwT3M38yWCf6Ews8GD/fdsmBiGN7BMt8EIDgth0="}]},"maintainers":[{"name":"deployment","email":"devongovett@gmail.com"}],"directories":{}},"0.1.1":{"name":"png-js","description":"A PNG decoder in CoffeeScript","version":"0.1.1","author":{"name":"Devon Govett","email":"devongovett@gmail.com","url":"http://badassjs.com/"},"repository":{"type":"git","url":"https://github.com/devongovett/png.js.git"},"bugs":"http://github.com/devongovett/png.js/issues","devDependencies":{"coffee-script":">=1.0.1"},"scripts":{"prepublish":"coffee -c png-node.coffee"},"main":"png-node.js","engine":["node >= v0.6.0"],"readme":"png.js\n======\nA PNG decoder in JS for the canvas element or Node.js.\n\n## Browser Usage\nSimply include png.js and zlib.js on your HTML page, create a canvas element, and call PNG.load to load an image.\n\n    <canvas></canvas>\n    <script src=\"zlib.js\"></script>\n    <script src=\"png.js\"></script>\n    <script>\n        var canvas = document.getElementsByTagName('canvas')[0];\n        PNG.load('some.png', canvas);\n    </script>\n    \nThe source code for the browser version resides in `png.js` and also supports loading and displaying animated PNGs.\n    \n## Node.js Usage\nInstall the module using npm\n\n    sudo npm install png-js\n    \nRequire the module and decode a PNG\n\n    var PNG = require('png-js');\n    PNG.decode('some.png', function(pixels) {\n        // pixels is a 1d array of decoded pixel data\n    });\n    \nYou can also call `PNG.load` if you want to load the PNG (but not decode the pixels) synchronously.  If you already\nhave the PNG data in a buffer, simply use `new PNG(buffer)`.  In both of these cases, you need to call `png.decode`\nyourself which passes your callback the decoded pixels as a buffer.  If you already have a buffer you want the pixels\ncopied to, call `copyToImageData` with your buffer and the decoded pixels as returned from `decodePixels`.","_id":"png-js@0.1.1","dist":{"shasum":"1cc7c212303acabe74263ec3ac78009580242d93","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/png-js/-/png-js-0.1.1.tgz","integrity":"sha512-NTtk2SyfjBm+xYl2/VZJBhFnTQ4kU5qWC7VC4/iGbrgiU4FuB4xC+74erxADYJIqZICOR1HCvRA7EBHkpjTg9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtL1rgdVaUioTjApWiK6/wkNbNO5BIIR8DiB69O+/p2gIgCfw0SZrb/SsByFzXsdAi5hjcYphm529r79FfDmpGsZI="}]},"maintainers":[{"name":"deployment","email":"devongovett@gmail.com"}],"directories":{}},"1.0.0":{"name":"png-js","description":"A PNG decoder in JavaScript","version":"1.0.0","author":{"name":"Devon Govett","email":"devongovett@gmail.com","url":"http://badassjs.com/"},"repository":{"type":"git","url":"git+https://github.com/devongovett/png.js.git"},"bugs":{"url":"http://github.com/devongovett/png.js/issues"},"devDependencies":{"jest":"^24.1.0","prettier":"^1.16.4"},"scripts":{"test":"jest","prettier":"prettier test/**/*.js png-node.js png.js --write"},"main":"png-node.js","engine":["node >= v0.6.0"],"jest":{"setupFiles":["<rootDir>/test/patch-canvas.js","<rootDir>/zlib.js","<rootDir>/png.js"]},"gitHead":"977b857a11676c1e720e79ed8d9178a005a9abd6","homepage":"https://github.com/devongovett/png.js#readme","_id":"png-js@1.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-k+YsbhpA9e+EFfKjTCH3VW6aoKlyNYI6NYdTfDL4CIvFnvsuO84ttonmZE7rc+v23SLTH8XX+5w/Ak9v0xGY4g==","shasum":"e5484f1e8156996e383aceebb3789fd75df1874d","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/png-js/-/png-js-1.0.0.tgz","fileCount":44,"unpackedSize":3114151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0L2fCRA9TVsSAnZWagAAJ2EP/iCmK9X2PniRdmTIKbi6\nafUvPZ1bpbnFu4vWIGxiLmIpBUXE0rXuj52EBPGu1FegwhX9gD7OmljUKLEW\njxcwCLUBKUvmX4zjoL3o9Id52U8jzlO7mMiHMOIWKVlXEmuDk6gjF9qKYVaw\nkrfMhaDOAYFT1xo0tBfq8Pt/3+XfNifZPJGdc3qSIqiDdtkBfH7H0PeU9Naa\ndojCisWbo3zabRIeDchW+05cWFJzmgiPiUcr0XwtC66taC4haDvAt2OTqGZb\nngwtieH/7QyD/rptdGpv/eUIZFxpqee3jQsXHu04tFbDZkl38w09G9qlqhxS\nF0i1Ti/7Wl0kuWq7OtCwl6tzCvfTKLhp9mSiL2Ppu01Fh6uzehGhcefvQt2a\nkvqnOD/lnKDmy2NcwaswGKanXMKWh4RTQ+eobULjReL/7Ob0vpltIe2WYry4\nIpsMW/QZh9SZj4xqb5H1KpzmRGgMyqXLndx2o4gzD9AfWohbnIsHnKR70TEt\n2JJ3JC+dWoS3yBH97Uadhl+CnzXhFW/+b56Z3j5XTLt+no4JPlAxYO2GDqnb\nvbE6bCrc0sRDTEXldKduZNMr+4vkaKi9LresH4koROwuPyy6lFHzky7DUx0p\nCK2aqczYvuQ7MCOdqFmvTN1EYJpXI7rIz+KCVjTxqudVfOzgjHiOX76bpp2Z\nAILq\r\n=5cBI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9e4OS/Hbd19738miXIgPYrzLR4CNVN225PtDWowLkTAiEAhMhB9hjnjtmEemwDtPHoRdLyoZ0ssUodta1cxtvTVS0="}]},"maintainers":[{"name":"deployment","email":"devongovett@gmail.com"}],"_npmUser":{"name":"deployment","email":"devongovett@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png-js_1.0.0_1573961118929_0.47878634567628975"},"_hasShrinkwrap":false}},"name":"png-js","time":{"modified":"2022-06-24T05:15:23.401Z","created":"2012-04-07T04:42:44.455Z","0.1.0":"2012-04-07T04:42:45.730Z","0.1.1":"2012-11-21T23:17:13.830Z","1.0.0":"2019-11-17T03:25:19.490Z"},"readmeFilename":"README.md","homepage":"https://github.com/devongovett/png.js#readme"}