{"versions":{"1.0.0":{"name":"@jsquash/png","version":"1.0.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"e7e7ab33edcf7973293ca86bf78e4d82d5981a1d","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-S46i++tzXMvw/YTMy7qbB5pikhrQcGonWmZF27vD+/mw288/S/EN6HnvfFFp4RvjDhoh2Ceao21/R04DFEQM4g==","shasum":"95616aee3ad6722f974dadb6e7991c7fb7e73792","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-1.0.0.tgz","fileCount":21,"unpackedSize":145064,"size":70262},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_1.0.0_1636692359853_0.5640999828288507"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:36:40.451Z","contributors":[]},"1.1.0":{"name":"@jsquash/png","version":"1.1.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codecs package.json dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"20585cf7020bc0c13bdaf1271813b831bafc81a6","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-e7kuBfMzETEtDNluAs3SFcH6lzHBooQiSe7S3ieTMTJBj7jPq8ruHBXhV87K4+gE+TofBtBCnAVQbPeftQFkjQ==","shasum":"3c85f6db7f492670e72975bc36631285acfb3171","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-1.1.0.tgz","fileCount":39,"unpackedSize":776978,"size":328428},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_1.1.0_1636775980287_0.06921683451093497"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:36:43.000Z","contributors":[]},"1.1.1":{"name":"@jsquash/png","version":"1.1.1","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codecs package.json README.md dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"7d95d4ac8999555f87a4a5a5871f052418c15b87","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@1.1.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-1XuZoHWu8o3s2hOuckdnvZBNxjhDqAhnV90J4c8adXHaRdgWjY9cXnOCCccWGX1KiCBGf0ibDVZ625Sr0EYRGg==","shasum":"cf8c511cbabb42a5b8e428001e6e40f8cdd0fb43","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-1.1.1.tgz","fileCount":40,"unpackedSize":780180,"size":329178},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_1.1.1_1636776188751_0.7516977724677525"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:36:45.624Z","contributors":[]},"1.2.0":{"name":"@jsquash/png","version":"1.2.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codecs package.json README.md .npmignore dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"496579fca936f6700f9beda0d235eb2ba7dd4fab","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@1.2.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-JMtvwmHTkdMzo4s+JNi0aKnvPaBbw5ACMrSGQJio+NLR7dqfFmMzvNOOa2Fuodbt2omtrn/R/YzP44BPrlq1rg==","shasum":"15e50066f92b026f0305c287ee15f7188b81f0d1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-1.2.0.tgz","fileCount":37,"unpackedSize":780565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlM0eCRA9TVsSAnZWagAApQoP+wZ4ZdMogV0Lkm8YL9oy\n4CyuYP0Penk8pT/xKXWSIGdeIc/4Wm/Fz82NJ7+4RcTHYIyZ6dRWBzQUAf4R\n/lS9SQJY/xq5ypA8qrW2nq8+9jxDXemu1K+4mePBW7LHYD1cZzrlcbpYN3Li\ndz+mZrvtv5q1B7ayVsfCgTYTqqU7hghxewtRp6g4WCgJ/C7+kDW9zcoZySNc\nzkRz/2RxE9ZgIdqwE7F0gVBKosFcVqE2PamwtTsi4BxsilERKgEf48Xbyjl2\nciP464mWttxm3b1k9kmPuNTZnYUtkx7LSWaP1gZNd/kXhSaCDhvWgZRz+p/9\nQPpf9C9Czmq3vc93evdLSTkXbwrUKKoFGhH3SK2CjnbqlBwWaKNfTvQrUvRC\nerneRynGrUXTGUCmT5OixvmTlwaIHwi5FKsMmo8CRtD1KuCuRpCoY6G1j2HP\n3ch97eQFZSCXdXSnQThJ+Q2gTeuokdn2tT292dAOQahyizqTq4XWGXsgAIk4\ny5x3jhmcEWwBzkxlYSmNpKPzV/CO+BzY3zzcik6M2eCcJXTnKZBgGwlzvonE\nxezMpm5z3Tg+PeGsunq470cXrvIK8gNi0fMq565PP56SQp7WXfmYapHNVrUV\neTMaeBUpD2+oPgNpst/MpEkkxR34Ap5NljL8iRlDUFZ0gt+/0vu86kjJvTnx\nLK2f\r\n=4BX6\r\n-----END PGP SIGNATURE-----\r\n","size":329123},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_1.2.0_1637141789955_0.34353354424610116"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:36:48.134Z","contributors":[]},"2.0.0":{"name":"@jsquash/png","version":"2.0.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md .npmignore dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"62ba004f83ebf52dc84ba5b3d0ee1142f586c24d","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-i33Bh9Hs/OPxEuKdosPSEyJ9TWvDZqKwJnLDfqXUZREzMt+hLal+Zp2YUlGPvKIiLiNMnKikR8Y52WySQPYkgg==","shasum":"fdef4c62148826a2bb85335c7f86dd1bccb5fa2b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.0.0.tgz","fileCount":22,"unpackedSize":148393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhll+KCRA9TVsSAnZWagAAkF0P/Rxmmml9ZwPwJ3HzFJN4\nQMVnoizzmx0a1yxEusFhHtjOId58ntrZ4XPAUsl4oY8LZwpKav/kRmcKOBRd\neLRFG9I4vpP8g/v7k7BrMMRyICVDSQeLZxJyVuF93JD6VAP4xpjqTlzmQ9wj\nCgHTJlSiPB9qjiOL3XdYKHqU1f7bAY9X5h2bg90HqqbHeiYow/5pZ2+9sV6t\nK3oN5rR586qn24KN2ca9hheFqlsLQaVPIyZ3wIBsSCW+/2owqtPqsMhl97XB\ndFYNRf9M8BPTco7p4DGFlBhyDmiIYN9YlIErVC4ausQ8zaiYdeQjFSjhpxsp\nLeiNTxFQMd2coVreQYUpO63bAEoOdNIYQ73SYjYqTa4AWresqRuEInc7dtut\nSCUEmfG+6aUIS/zpmkZ8dOl8dUfT2y6FrqaLNjRHR+20UW/O83oVZYquvvgJ\nI17aHBOa1UJmMDrSfEb8QEOHlcNd06HhCrVDVS2WmmklG99ngwGu5FO7dzxg\nJaKkxnEeD81tOfNvAODs/QtrtVAyOh8bfdcdv/kPpt8Zd3QLBPGleeW+iAwQ\nAC0GgTSXrKa6HJ0D4ca80GMI/vue0Ui6ipWv5GzCjcQeSJ7ksayYllT4N5Jk\nSIygxvPfbzTfYbN4sEWEqXi2tr3c59C6lHNg2s6GW97gbfPkmL9vhG0kuh9B\nbA0q\r\n=EGc6\r\n-----END PGP SIGNATURE-----\r\n","size":71137},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.0.0_1637244810149_0.10850423567034317"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:36:50.473Z","contributors":[]},"2.1.0":{"name":"@jsquash/png","version":"2.1.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"2399591a2a7a5ddb73767c895b7a6aff40d23aaf","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.1.0","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-gnDkqzW4nXGub62XhXhNouaFlKtuMAuZSy7UO+O7PnhzsvcvzdC8F6wRLFz18jwdx/i0d7n0OZj3kxsRB4Y8dw==","shasum":"0b635a5bdb9f2e576cd4eadc9b6a4c072f49676c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.1.0.tgz","fileCount":24,"unpackedSize":150221,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqNKtTiAUf8rXnKRqrLiOpWwrIN7RTsXuWT70blPPksQIhAIWDKh3AprfVK+/IKsTdIBC75kf4KJtHs8RGIDMONBsq"}],"size":71779},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.1.0_1688800661475_0.12783661489469744"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-08T07:17:41.676Z","publish_time":1688800661676,"_source_registry_name":"default","contributors":[]},"2.1.1":{"name":"@jsquash/png","version":"2.1.1","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"gitHead":"b103a9cdf8fefcf3445d5aa21e537e4714031014","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.1.1","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-uJifG4vkSXrcuPTPyOTfK72sF1B3m8mlnWPtSBHc0RFm/SP2UEIrQ8ckYABuQE0vmG/SfjxOR4HRmcH4NKywmg==","shasum":"c84f07395588e01c49fe221a41b431e44c20a83b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.1.1.tgz","fileCount":16,"unpackedSize":140684,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0JdR2wItFfPnEYlG9mDUaHv6ooN9n5fQ0P2ttedl/uAiEApqNadmZnovvCaylpE0a0+BJBD79EVMJu+oNfdUd8ml0="}],"size":68769},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.1.1_1689082361157_0.5102054059003147"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-11T13:32:41.374Z","publish_time":1689082361374,"_source_registry_name":"default","contributors":[]},"2.1.2":{"name":"@jsquash/png","version":"2.1.2","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist"},"dependencies":{"wasm-feature-detect":"^1.2.11"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"78acc89e59495a270aa1f448277aad373396e24a","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.1.2","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-D45Uj1iQJ3yItcZ86B0fCMfy8iwbbIZgj5kxJaO/5QCUKXkV9v+ZlwxJrQTmudCA58jzSSh8KB68h+33E3F8xw==","shasum":"d117c45b7d1a69bec657da8eab26ba10508148c7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.1.2.tgz","fileCount":24,"unpackedSize":150522,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGVxrTaG3+Kw2pkMVl+2JpvEBLn6a5dikHIeivr1ZBSQIhANGDzh97efkPptb4oJxLqt5SG++sZP3JusWzH36IwLaI"}],"size":71900},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.1.2_1689090994955_0.8575459516696333"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-11T15:56:35.199Z","publish_time":1689090995199,"_source_registry_name":"default","contributors":[]},"2.1.3":{"name":"@jsquash/png","version":"2.1.3","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"gitHead":"18b09bf7e648ac35d3dd1d4553361e0b58b38be3","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.1.3","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-EVjOL7AUfSMMLOrp/OEUz4KuQwNQc9pdR8R8L3vhjH9O+Iy+FPRx7BlYBBNzPVob5MAImXSh0s5AYhzd0d8tHg==","shasum":"0a44524011ba56d812049f7d3caef4140b66cff8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.1.3.tgz","fileCount":16,"unpackedSize":140844,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+TbhH7opw0uoku+gtYcYKbwyUurnXI3pcsKRJBKklVAiEAxV/ge5JrRJ2lnYWG5UQOVLCn5KSs+e5W0oar94C0LZM="}],"size":68804},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.1.3_1692523708381_0.4488701237930419"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-20T09:28:28.615Z","publish_time":1692523708615,"_source_registry_name":"default","contributors":[]},"2.1.4":{"name":"@jsquash/png","version":"2.1.4","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","gitHead":"d37f2a782d881c7de8287bba4d3f725a645c556c","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/png@2.1.4","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-WXq40XtEeYxbJLpYgVIUJPVqy3nrFPlnlE9KXLMbtM6YPYyfpO4df0sy/sqk4OThK0+qTmz0VB9+kYjMA5XOjQ==","shasum":"2cd627ae9d66b9374556a4af2f14e0f68da90c9b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.1.4.tgz","fileCount":24,"unpackedSize":150546,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGPzhU9nlFR/S5q9w9mNHLbhz/iiGiPGoVnQatlR1kXAiEAgZYR9dR5VwU5RJhlGhVguDTGATdZh4SgmG8NScic6KQ="}],"size":71905},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.1.4_1692524958497_0.5238812237540493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-20T09:49:18.684Z","publish_time":1692524958684,"_source_registry_name":"default","contributors":[]},"2.2.0":{"name":"@jsquash/png","version":"2.2.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore dist","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"_id":"@jsquash/png@2.2.0","gitHead":"93991a37796f84cc17e7202f4878cc1fb3995659","types":"./index.d.ts","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-k7BiVGekzaXj88ikJL9SXatU3Eq2DJtklYV4n5/y+NU3xcGFVkVcoa2EW+3oRk1AG+WwRPjTQDIKeYd6oTu6bg==","shasum":"f894e3713945866890ba10205c44ec8b4591d242","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-2.2.0.tgz","fileCount":20,"unpackedSize":173695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUjCWX3e6c9yI+cxyRJ2JLBztEZxnatMtu6+hz+8RbfAiEAzjatIAfn0tjPaeaRdE1/O+R0vnKpYfu0Yjh5oEpBbVM="}],"size":80832},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_2.2.0_1700475907335_0.3810147560988837"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-20T10:25:07.602Z","publish_time":1700475907602,"_source_registry_name":"default","contributors":[]},"3.0.0":{"name":"@jsquash/png","version":"3.0.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"_id":"@jsquash/png@3.0.0","gitHead":"b92533796d747a29e40f6e436a5f5726944f2241","types":"./index.d.ts","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-S1b9r11F/TBTukAbPxSoIzukiCPld5dsEYT0+ycxk1vOOErdP2wWIeA+vPPZJZRP9eC/N0dd26roCoeUlzPsiw==","shasum":"a6793a2e1c2c8a10cc5fd5aef8876f286defa875","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-3.0.0.tgz","fileCount":20,"unpackedSize":213119,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzFHoVkogk0riOaxq7x1isURKLP3aVc5tZ6zVmw+Ng1wIhAJ2z8JXHVr7nQGRjtddu4A8yzDrmAkJs6QUpe+wv94oj"}],"size":94325},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_3.0.0_1704611674099_0.5789147446453016"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-07T07:14:34.274Z","publish_time":1704611674274,"_source_registry_name":"default","contributors":[]},"3.0.1":{"name":"@jsquash/png","version":"3.0.1","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && rm dist/codec/pkg/.gitignore","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"_id":"@jsquash/png@3.0.1","gitHead":"12cc6945365983e2c05b1065ff7152c8af43b22c","types":"./index.d.ts","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Bnvv93Y5LL92cuk2r2gpV+9JKuDo2/w7bOODw1iPxk8VARknky0sS1tSDgMosUdhNb4CdMlcCm3TMzTaqa3zZw==","shasum":"dc4c775e2fda3abd5d2f6e7971f6ce0c11b6a952","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-3.0.1.tgz","fileCount":20,"unpackedSize":213354,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFl2KapzODukWsjekPnmnCIxDmFqKbsfprsNlrE8arrAiEA3cnolEDjhWrgb4073jxpD7NuVuWuLa9JjhIjnx12P7k="}],"size":94363},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/png_3.0.1_1711954850931_0.6447303453138145"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-01T07:00:51.088Z","publish_time":1711954851088,"_source_registry_name":"default","contributors":[]},"3.1.0-beta.0":{"name":"@jsquash/png","version":"3.1.0-beta.0","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && (rm dist/codec/pkg/.gitignore || true)","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"_id":"@jsquash/png@3.1.0-beta.0","readmeFilename":"README.md","gitHead":"e54305890bbbea30eb83a2dc20958d1450ec8ff8","types":"./index.d.ts","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-YiAgVLLM4Z+ow3+jMSdylgH04fvKGvTwpBWL7efx78fLBOoFjE+VgOjNSRjuPKrzZHSgFMuDPeflQGDSEXp98Q==","shasum":"b2d272618fbbf5954f160b59ab1f5874d3860f1a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-3.1.0-beta.0.tgz","fileCount":20,"unpackedSize":220426,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAGrYFAwls14JOZOexkDsExy/KJzrvUAq9FIEGN0GFXJAiEA4KSBVL6/9To68G/xBttrf4Ymm1pUwNVa04UtBZ0hlxA="}],"size":96414},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/png_3.1.0-beta.0_1743320373022_0.3890827223224953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-30T07:39:33.220Z","publish_time":1743320373220,"_source_registry_name":"default","contributors":[]},"3.1.0":{"name":"@jsquash/png","version":"3.1.0","keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"license":"Apache-2.0","_id":"@jsquash/png@3.1.0","maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"homepage":"https://github.com/jamsinclair/jSquash#readme","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"dist":{"shasum":"491c96239b4d341f7915801547644793405ba74a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-3.1.0.tgz","fileCount":20,"integrity":"sha512-oeXcAici7LNd2Vta6/XeMWjYmJfzMojDpfRJbaLVKyfuJe3GBI6W1uA3UX7EL+kYX2U0v8fA1JSps61NuF/5UA==","signatures":[{"sig":"MEUCICQJot0Zz2ciqAvgYsxvRNStHbGpzwoszMeOfPUKByYEAiEAnWEpNd5FjWuTCJZaWafN0Z1H/qGZXRdvk3Thg6IAtHI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220851,"size":96563},"main":"index.js","type":"module","types":"./index.d.ts","gitHead":"4343734a8b742cb66b15e5c243f6d541e681987d","scripts":{"build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && (rm dist/codec/pkg/.gitignore || true)","clean":"rm -rf dist","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"repository":{"url":"git+https://github.com/jamsinclair/jSquash.git","type":"git"},"_npmVersion":"10.5.0","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.4.4"},"_npmOperationalInternal":{"tmp":"tmp/png_3.1.0_1747063351537_0.7560311968493936","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-05-12T15:22:31.733Z","publish_time":1747063351733,"_source_registry_name":"default","contributors":[]},"3.1.1":{"name":"@jsquash/png","version":"3.1.1","main":"index.js","description":"Wasm png encoder and decoder supporting the browser. Repackaged from Squoosh App.","repository":{"type":"git","url":"git+https://github.com/jamsinclair/jSquash.git"},"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","png"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && (rm dist/codec/pkg/.gitignore || true)","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"_id":"@jsquash/png@3.1.1","gitHead":"b7fa9ac9ec02f224847ad23d19d115f9e296a368","types":"./index.d.ts","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-C10pc+0H6j0h8fENOfnGOvkXCmvpSQTDGlfGd0sHphZhPSGTyLjIrHba0FaZZdsKqA/wlmhYicUHb92vfZphaw==","shasum":"26b154c35f297ca8d1d31e7ecb23ef2447b9a986","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/png/-/png-3.1.1.tgz","fileCount":20,"unpackedSize":220994,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDfMSrSYP6eaX1N+/RmuGdpOjbVPaoQ758xaoarCBVAWAIhAKpkvjPgsXiVDQEUviWN6Qxa00qAt50PtKP+HB6wv1Mu"}],"size":96574},"_npmUser":{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jamsinclairnz+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/png_3.1.1_1747750292349_0.48425455846398924"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-20T14:11:32.543Z","publish_time":1747750292543,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"beta":"3.1.0-beta.0","latest":"3.1.1"},"name":"@jsquash/png","time":{"created":"2022-01-27T13:57:49.612Z","modified":"2025-05-20T14:12:15.726Z","1.0.0":"2021-11-12T04:46:00.033Z","1.1.0":"2021-11-13T03:59:40.471Z","1.1.1":"2021-11-13T04:03:08.931Z","1.2.0":"2021-11-17T09:36:30.117Z","2.0.0":"2021-11-18T14:13:30.370Z","2.1.0":"2023-07-08T07:17:41.676Z","2.1.1":"2023-07-11T13:32:41.374Z","2.1.2":"2023-07-11T15:56:35.199Z","2.1.3":"2023-08-20T09:28:28.615Z","2.1.4":"2023-08-20T09:49:18.684Z","2.2.0":"2023-11-20T10:25:07.602Z","3.0.0":"2024-01-07T07:14:34.274Z","3.0.1":"2024-04-01T07:00:51.088Z","3.1.0-beta.0":"2025-03-30T07:39:33.220Z","3.1.0":"2025-05-12T15:22:31.733Z","3.1.1":"2025-05-20T14:11:32.543Z"},"readme":"# @jsquash/png\n\n[![npm version](https://badge.fury.io/js/@jsquash%2Fpng.svg)](https://badge.fury.io/js/@jsquash%2Fpng)\n\nAn easy experience for encoding and decoding PNG images in the browser. Powered by WebAssembly ⚡️.\n\nUses the [rust PNG crate](https://docs.rs/png/0.11.0/png/).\n\nA [jSquash](https://github.com/jamsinclair/jSquash) package. Codecs and supporting code derived from the [Squoosh](https://github.com/GoogleChromeLabs/squoosh) app.\n\n## Installation\n\n```shell\nnpm install --save @jsquash/png\n# Or your favourite package manager alternative\n```\n\n## Usage\n\nNote: You will need to either manually include the wasm files from the codec directory or use a bundler like WebPack or Rollup to include them in your app/server.\n\n### decode(data: ArrayBuffer, options?: { bitDepth?: 8 | 16 }): Promise<ImageData | ImageDataRGBA16>\n\nDecodes PNG binary ArrayBuffer to raw image data. \nBy default, it decodes to 8-bit RGBA image data. \nIf `options.bitDepth` is set to 16, it decodes to 16-bit RGBA image data.\n\n#### data\nType: `ArrayBuffer`\n\n#### options (optional)\nType: `object`\n- `bitDepth` (optional): `8 | 16` - The desired bit depth of the output. Defaults to `8`.\n\n#### Example\n```js\nimport { decode } from '@jsquash/png';\n\nconst formEl = document.querySelector('form');\nconst formData = new FormData(formEl);\n// Decode to 8-bit RGBA\nconst imageData8bit = await decode(await formData.get('image').arrayBuffer());\n// Decode to 16-bit RGBA\nconst imageData16bit = await decode(await formData.get('image').arrayBuffer(), { bitDepth: 16 });\n```\n\n### encode(data: ImageData | ImageDataRGBA16, options?: { bitDepth?: 8 | 16 }): Promise<ArrayBuffer>\n\n> ℹ️ You may want to use the [@jsquash/oxipng](/packages/oxipng) package instead. It can both optimise and encode to PNG directly from raw image data (8-bit images only).\n\nEncodes raw RGB image data to PNG format and resolves to an ArrayBuffer of binary data.\n\nCan optionally specify the bit depth of the output PNG. The default is 8-bit.\n\n#### data\nType: `ImageData` or for 16-bit images `{ data: Uint16Array; width: number; height: number; }`\n\n#### Example\n```js\nimport { encode } from '@jsquash/png';\n\nasync function loadImage(src) {\n  const img = document.createElement('img');\n  img.src = src;\n  await new Promise(resolve => img.onload = resolve);\n  const canvas = document.createElement('canvas');\n  [canvas.width, canvas.height] = [img.width, img.height];\n  const ctx = canvas.getContext('2d');\n  ctx.drawImage(img, 0, 0);\n  return ctx.getImageData(0, 0, img.width, img.height);\n}\n\nconst rawImageData = await loadImage('/example.jpg');\nconst pngBuffer = await encode(rawImageData);\n```\n\n#### Example with 16-bit image data\n```js\nimport { encode } from '@jsquash/png';\n\nasync function create16bitImage(src) {\n  const pixels = new Uint16Array(4 * 256 * 256);\n  for (let i = 0; i < pixels.length; i += 4) {\n    pixels[i] = Math.floor(Math.random() * 65535); // R\n    pixels[i + 1] = Math.floor(Math.random() * 65535); // G\n    pixels[i + 2] = Math.floor(Math.random() * 65535); // B\n    pixels[i + 3] = 65535; // A\n  }\n  return {\n    data: pixels,\n    width: 256,\n    height: 256,\n  };\n}\n\nconst rawImageData = await create16bitImage();\nconst png16bitBuffer = await encode(rawImageData, { bitDepth: 16 });\n```\n\n## Manual WASM initialisation (not recommended)\n\nIn most situations there is no need to manually initialise the provided WebAssembly modules.\nThe generated glue code takes care of this and supports most web bundlers.\n\nOne situation where this arises is when using the modules in Cloudflare Workers ([See the README for more info](/README.md#usage-in-cloudflare-workers)).\n\nThe `encode` and `decode` modules both export an `init` function that can be used to manually load the wasm module.\n\n```js\nimport decode, { init as initPngDecode } from '@jsquash/png/decode';\n\ninitPngDecode(WASM_MODULE); // The `WASM_MODULE` variable will need to be sourced by yourself and passed as an ArrayBuffer.\nconst image = await fetch('./image.png').then(res => res.arrayBuffer()).then(decode);\n```","users":{}}