{"versions":{"1.0.1":{"name":"@jsquash/avif","version":"1.0.1","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"88f79673f0995a14945dfd877105bf5cbf69dae9","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-+2Rlp535Ly3nSnLfkVAUG56amqnyedUGM9KyG3M7mDOgVQSobIwXraKApW23/GMwoLaBnWREB5cZdWSL1czWHw==","shasum":"c0efa0d9804724113baa02f235c4aed0574cb1b9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.0.1.tgz","fileCount":30,"unpackedSize":6876186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+c+7CRA9TVsSAnZWagAAIQ0QAIDJP1myLc/NT9ANsQHu\nDf9pwk/hVs9N87PymEPJktokQgWq4g/174WlBiNrYPh5uQKM9UHNPRzZ4FTM\nlNvpi6+cU63IyjbZ+YGXAfRzgcwXyic/jV2HN8ArttCZA5N7eqoUwZpYYUVG\nhWHoQoRINpTw/IbGjdu6Nomt+L0Ab7mR2t2zjmm3LFgJ//W9YhjDVkoAAHAa\ndIusx7d5Hiq5fxqR/mk/eRsl5BrmTv1sSZem3kByDVCOdPoA9srOp7MF3ljW\nEvA3qwex0G8FaauNQbVhC1BsNscEQDyLsGMncIokAl1563gOixkiY7cHxHuH\nLIhqNbclvFgymelb/j11rYkK5C82b5qRvRbbly/DIh4zsPqrd/HKv3SOQYxb\nprzmyAZEry1dpBcpGMicvD14iqnIz3ylM4oiCn5h+4WYq9wAUry4St0le5yz\nXLMKOyw+ONBPNJhslfdZMSnuhWtV0pwCi5BWUBx7Ag/dGY9X+bjHCOdqPUAU\ngp1/LplO0Tp4SF66LGNlj4BLybnhmrB4GS4OY00ma+lrLuI/rNdYJC5fmh3u\nGBJpvDKiUcHi+D9ZDavRAZ9nE5FnYjbiJZZHFQzzgqFbJTZO08rr/OEN+iEN\nwZ+gJt5lzi2kRMBQkdWINSEpVQIx1rv7//+7R8v1YXD/U5e77T53JML56cRg\nQs6P\r\n=02t0\r\n-----END PGP SIGNATURE-----\r\n","size":2180242},"_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/avif_1.0.1_1643761595315_0.5333375886729255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-02T00:26:43.431Z","contributors":[]},"1.0.0":{"name":"@jsquash/avif","version":"1.0.0","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"47c28f72bf912158f4d219f2d931e393e80ef997","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-cxFvAVrDVHYPE8Z0zIX2prn5Ju2G71SYabaFipCWB2gxFLfoDCWwDCDnNydOYu+rBVfaNDu+hV4pdMe/5ohMjQ==","shasum":"8f0042ef60ac6b62a65b6383d9316dad04662792","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.0.0.tgz","fileCount":30,"unpackedSize":6875010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmzaNCRA9TVsSAnZWagAAawwQAJ8XgjgMGluKevufLXVI\nj6UUyDIFplrrNmU/fgFsVj5Niiad622szUSkwKULc/ue/M+0SwXbldJWY+sx\nJpNqxFaObLCKVbdQGLjbKb60MDKviPR1Z/fSXtH0FfiEMulI+2ObTL9LP/Th\nv10LWCr0lEdJZfrcgmCdCUFmOaH/ZmgftYkCvcMVbWrtsCaci1liiXQHvs3M\ny4IbB/bI5jhAI2UYxB7P0B3y0rUXaTHaLg2rEVtXQiH377UbGbKAxKod21w3\nMWE2IKh1a68rat8x+d5HwqQvqbAdiLzbgpXkBwSZm0txWIdkHE6atBnABhZA\n2B5kWqHnMJ2ZAZNdLP/le7GMDrLoXFGugvw/5E9DdJsbu4gZaeLS0mVJBsK8\nrYgqqOE2ruwCaR2Jyy/SN2iEJztO+FAvxQK1CvccpOx+zEXPz0LeBL3O++b7\nT8PuEpqZUSWixVAnF7l4cYTBDvmEMl3Z8urtTPsYL9GBP6FxOiCUwzbHy5Oy\n8Wmi81cdb4gXSWrpcOO8s7zTA8yKHACSVKQuPuKbu2iNYoebjTCx4xFGvwTH\n75IcSkHDP1GD+RmD/u0ZPVkl/8tSQlHKV61/L6WJ9ptY9vgnWBXoGJuTG8nz\nhXlDEmYHPCCYC/Ic9uvfew9nnaTl0sEF59aXw/qa84THSfri6iKYx0DO9odM\n49Li\r\n=s8XD\r\n-----END PGP SIGNATURE-----\r\n","size":2179698},"_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/avif_1.0.0_1637561996780_0.652609819870241"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:53:13.884Z","contributors":[]},"1.0.2":{"name":"@jsquash/avif","version":"1.0.2","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"403416ca2a607090f3a84c270d2d61577e4298f6","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-v1t+GHV0dLAK1BgbRvagY8u39y0zusbxaDQR4Y9mFD6GCU319/wxRYSsYfUhudolj8KXAzYK8XPp67WIFMSJsw==","shasum":"3d07f7d296ef739cda10f5605efbec0785decb2e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.0.2.tgz","fileCount":31,"unpackedSize":6880217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHjQ1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjxA/6AqCfCcMAq75Inwdmp5gTPBvCO5ZXZyEksytJ4IU9OmdIkOnC\r\nMWkFYF8jQIvcbuWur4PLBQuTgqvhWz6MoklUJ5HJYlMm8V/Acd9TJZDm2xTv\r\nGu58L6W1HblL8N8m/XyBd6yFMEpf8c5BqTi56cSb+Go6fSB4intDKiodI3Z8\r\nXzn6y7rCFqhbhwXTKteTblUAfAHgRj1eRxPQ1J2/2O3SbT7jfyY7qnHcpl8j\r\nWHWkIz0yiJWWhlh+/U0cWYUDSp4UXVEXdMcb8emtOMgZLgOxg1+QdTuQug5j\r\nR/hmSiVvWEiYXM+9aTjUhFdckML9KT7AzvR0wJ+IYnsRXK+cfQq/uzkGqxvW\r\nY7CbAxwPJN2qHKobTkVqIU6+Oo3MSJ5EkfKLziSW8DfOq4iSCjomnvhUS9PI\r\nqyeAwm8Lr+glnOdXSjmYJIcWkmPxc+h6dFncj10TYRBFp1Xrtpr+3Zi0goUK\r\n7P/UG9nDW+K3cI1/GaCVocqg4P4mM0Ix4xNOSDrTRhyfBW0VltEfIMjbEOWh\r\ngYPgyupqjKq/rCGjZ74hWRDycK9J1dHpTbBzbRQtDO1e2rF9/JMRtKYqbT58\r\nUEFjJS42vDK1mgBRRNYdw3jLpQyM/AKPrwEObTaCMeUHemp4jDzrqvqEU75N\r\nbcB54o5RlSH6y+/PVObzYSwt/Z7AI2HYnJM=\r\n=Wj+M\r\n-----END PGP SIGNATURE-----\r\n","size":2181981},"_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/avif_1.0.2_1646146613696_0.688719496434469"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-01T14:57:38.197Z","contributors":[]},"1.1.0":{"name":"@jsquash/avif","version":"1.1.0","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"84cfabd4707cb06d539fee8045e87987025c6edd","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.1.0","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-I8OXSB3gH50sI7lMC6Rz7HBXwIZW9x1AUU1Vz/60h6FhKjA2x/VolGuRy7LNBA5CKrDV9OkHhFEYIgPFY96cuw==","shasum":"91c07ae18ef1bf37f4d36754666cf4966357d12d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.1.0.tgz","fileCount":32,"unpackedSize":6880876,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAi34Zndfb5XBJERuB+EiGP3qmBElrJQbBvcyzjoWwDJAiEA/CxssIF4qN94TD4A+XV7qQxBZy8iECR+nFEoGWnQiko="}],"size":2182298},"_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/avif_1.1.0_1686321264349_0.29627725226133994"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-09T14:34:24.519Z","publish_time":1686321264519,"_source_registry_name":"default","contributors":[]},"1.1.1":{"name":"@jsquash/avif","version":"1.1.1","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"92b3c791b3b55b2453fb235d83c2ffb56c2855e5","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.1.1","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-XRFoIsAC5y7AYsVFqGOyDGMvUmOtN83bPa6w0PUGS3gR0qWS/gZaKs7ImHILyYILZAfCWt8OX6qmGqpOLswC/Q==","shasum":"9037012a22321dabf83d79af27410dfecfc3dfde","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.1.1.tgz","fileCount":32,"unpackedSize":6880842,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAIvn4hlZmdvTNWFwEQvoYDYqNNeA8Pxdv5qR6NUS0fQIgG+rVj1fYYIKOOQeH22y98PZotwx6nmf8Zk4q0DAbj5g="}],"size":2182240},"_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/avif_1.1.1_1686750711690_0.33877889040188824"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-14T13:51:51.867Z","publish_time":1686750711867,"_source_registry_name":"default","contributors":[]},"1.1.2":{"name":"@jsquash/avif","version":"1.1.2","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"types":"./index.d.ts","gitHead":"29f7875892d2490410b5b3556359953473e80cbe","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.1.2","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-zE0mIXS+F7tKKm7nO0Dd89CQO6MjQH7d2vvGt2A1DQiZ6PrvB2S8K1y2z0fz5poADhuIZhawBqRixowml6HN5g==","shasum":"f19d5182a694c566b8f2bd385007c2ae450674c4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.1.2.tgz","fileCount":32,"unpackedSize":6880821,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/dKiEHxIbyGLx65yBrZUpFH8+iDt7v39mt17eZb8bkAIgfITokn1hh0EYcBd2T1hJxJ4I92gLQE1UTCs/mD1Oa1A="}],"size":2182212},"_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/avif_1.1.2_1686752227456_0.9725526103269946"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-14T14:17:07.717Z","publish_time":1686752227717,"_source_registry_name":"default","contributors":[]},"1.1.2-single-thread-only":{"name":"@jsquash/avif","version":"1.1.2-single-thread-only","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist"},"devDependencies":{"typescript":"^4.4.4"},"type":"module","sideEffects":false,"types":"./index.d.ts","readmeFilename":"README.md","gitHead":"3d4001843fd41e60eceb4b006dbe79b50f95ca7f","bugs":{"url":"https://github.com/jamsinclair/jSquash/issues"},"homepage":"https://github.com/jamsinclair/jSquash#readme","_id":"@jsquash/avif@1.1.2-single-thread-only","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-r1u3qVIEQAWQ9lexC+aVB2JmbXkGGHV+o5Eak4S1QxYaPbg6JAJcNssqFS9BKkJ+xx7r7sNJUZU8Ar+YlGvUNA==","shasum":"87a99d2cde3b0f5e1916759c960edef26e991704","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.1.2-single-thread-only.tgz","fileCount":28,"unpackedSize":4110010,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBE2heknT33VmK2uDg9vJ7bKV7hSCUhD8j+AFgtrtqJSAiEAix6T98rsLAgdPHx1oH3W18iDlcJGRPV3HZGidK4OEVM="}],"size":1256332},"_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/avif_1.1.2-single-thread-only_1692521700569_0.3738423798316719"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-20T08:55:00.793Z","publish_time":1692521700793,"_source_registry_name":"default","contributors":[]},"1.2.0":{"name":"@jsquash/avif","version":"1.2.0","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build:codec":"cd codec && npm run build","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore dist && cd dist/codec && npm run patch-pre-script","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"@types/node":"^20.9.2","typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"_id":"@jsquash/avif@1.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-f+ObAfeQUHby2/vYIElparc0Y8Jkv0GW1KRCFc7z9OCQrKHxLVAPiHvCssCNf/gGJGQIPNwXGy1k5aAPL2Krtw==","shasum":"a10eba3ac50e4ffa78b1554667b6a1f0a37cc9df","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.2.0.tgz","fileCount":27,"unpackedSize":6905044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDs4EWlf4iVnZEVmL+A4r24VK6W4LxorzUP6jtaTRA3cAiAe6vYBk1vPzjDuz9wSvzgmQt8O2wO3HvaJEtTRH12LYg=="}],"size":2190175},"_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/avif_1.2.0_1700475734063_0.12089354775759897"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-20T10:22:14.261Z","publish_time":1700475734261,"_source_registry_name":"default","contributors":[]},"1.3.0":{"name":"@jsquash/avif","version":"1.3.0","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build:codec":"cd codec && npm run build","build":"npm run clean && tsc && cp -r codec package.json README.md *.d.ts .npmignore ../../LICENSE dist && cd dist/codec && npm run patch-pre-script","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"@types/node":"^20.9.2","typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"_id":"@jsquash/avif@1.3.0","gitHead":"21ed31e365084044ecdb9c61d851c7e210ef1028","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-N6zH27O/AioCPNGxaf33PYnUEQZmAjUz0JwwAf9eMHRdYItn+CxwxlsHSSOkFmZKW+v9uVX6c7ZPQ4RTXArL7A==","shasum":"3a69eec212742fb511aa535cfa9fb69a57b17bd1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-1.3.0.tgz","fileCount":27,"unpackedSize":6887197,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8ZZfk6vUJ4a3bUYb5pK5G2+r8NrC/XXeM7EHs/OLpBAIhAMNyAFlnDKdsfwlJg+7Xh0B3KjafSgjQVm31SRR7eLYQ"}],"size":2183555},"_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/avif_1.3.0_1700495061496_0.33122438142093324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-20T15:44:21.754Z","publish_time":1700495061754,"_source_registry_name":"default","contributors":[]},"2.0.0":{"name":"@jsquash/avif","version":"2.0.0","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build:codec":"cd codec && npm run build","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md *.d.ts .npmignore ../../LICENSE dist && cd dist/codec","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"@types/node":"^20.9.2","typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"_id":"@jsquash/avif@2.0.0","gitHead":"08e9be2de5b02c2af6035bb2e6a616f8b1545d29","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-Gu1S4PCNpZvKXdenpyFUa9pVG4XdAPpTR/H1prr78WQLIKmbBoTkH6Nyf4qrSiNrQFqteyHeFrILsysXD6YRWg==","shasum":"5136fc4a2b7862e8636661b47e62c27ee74a5a14","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-2.0.0.tgz","fileCount":28,"unpackedSize":7245749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+7r7PbVmlOu1FBDKmnax7mCx+6+4JDXqc0ZTG6y+1uwIhAK2oyRYKVbeMCCVOlODj9Ow5X1YdLM2t81nf80x/1snr"}],"size":2369835},"_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/avif_2.0.0_1732381971688_0.9377652793494795"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-23T17:12:51.930Z","publish_time":1732381971930,"_source_registry_name":"default","contributors":[]},"2.1.0":{"name":"@jsquash/avif","version":"2.1.0","keywords":["image","optimisation","optimization","squoosh","wasm","webassembly","avif"],"author":{"name":"Jamie Sinclair","email":"jamsinclairnz+npm@gmail.com"},"license":"Apache-2.0","_id":"@jsquash/avif@2.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":"bedc7c66f21bef61e566ff5fde5d35cc1b626c04","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-2.1.0.tgz","fileCount":28,"integrity":"sha512-Ts8q9cckkHDNSkqdr2huHPXAQCECrFeayhT/6MvTf1uMxoqjJwTcgN14gFkZwNoFfTB9Meb34L/oG2hZOp9Szg==","signatures":[{"sig":"MEUCIE3zwTAhkGR9Qh19DP1+dzVs7YCEWj8oT3r2sokhwjy3AiEA5JqcK1kxd1sylsoRiFF/wjrCmaoaETOZvgTn+veAefw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8360131,"size":2654323},"main":"index.js","type":"module","types":"./index.d.ts","gitHead":"4fea57a90aa2dbbcb18a2dc3cdee81cf98bcfa88","scripts":{"build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md *.d.ts .npmignore ../../LICENSE dist && cd dist/codec","clean":"rm -rf dist","build:codec":"cd codec && npm run build","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 AVIF encoder and decoder supporting the browser. Repackaged from Squoosh App.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.0","dependencies":{"wasm-feature-detect":"^1.2.11"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.4.4","@types/node":"^20.9.2"},"_npmOperationalInternal":{"tmp":"tmp/avif_2.1.0_1747062035836_0.5978976573342407","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-05-12T15:00:36.158Z","publish_time":1747062036158,"_source_registry_name":"default","contributors":[]},"2.1.1":{"name":"@jsquash/avif","version":"2.1.1","main":"index.js","description":"Wasm AVIF 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","avif"],"license":"Apache-2.0","scripts":{"clean":"rm -rf dist","build:codec":"cd codec && npm run build","build":"npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md *.d.ts .npmignore ../../LICENSE dist && cd dist/codec","prepublishOnly":"[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"},"devDependencies":{"@types/node":"^20.9.2","typescript":"^4.4.4"},"type":"module","sideEffects":false,"dependencies":{"wasm-feature-detect":"^1.2.11"},"_id":"@jsquash/avif@2.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-LMRxd0fMgfCLtobDh0/sFYJMMiRJTNYSEEWvRDKXlAeZ08t3gI5V+1thIT0XjXJ+SVG7Zug9B0XPyx0Ti5VRNA==","shasum":"600c77158363220e2f0dc4f6f72ece7e604231bf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@jsquash/avif/-/avif-2.1.1.tgz","fileCount":28,"unpackedSize":8360482,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBZbqoUGOurolFIHi+tb3PI3lI2ANRb5ODsyLdw0Yzn/AiB7dF1QjjhVOAlw/6SxrWx7EQcf6mc9KlmAhoiwSQP7Hw=="}],"size":2654320},"_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/avif_2.1.1_1747750244422_0.6855515407372945"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-20T14:10:44.668Z","publish_time":1747750244668,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.1.1","single-thread-only":"1.1.2-single-thread-only"},"name":"@jsquash/avif","time":{"created":"2022-01-29T02:48:00.344Z","modified":"2025-05-20T14:11:38.146Z","1.0.1":"2022-02-02T00:26:35.548Z","1.0.0":"2021-11-22T06:19:57.098Z","1.0.2":"2022-03-01T14:56:53.868Z","1.1.0":"2023-06-09T14:34:24.519Z","1.1.1":"2023-06-14T13:51:51.867Z","1.1.2":"2023-06-14T14:17:07.717Z","1.1.2-single-thread-only":"2023-08-20T08:55:00.793Z","1.2.0":"2023-11-20T10:22:14.261Z","1.3.0":"2023-11-20T15:44:21.754Z","2.0.0":"2024-11-23T17:12:51.930Z","2.1.0":"2025-05-12T15:00:36.158Z","2.1.1":"2025-05-20T14:10:44.668Z"},"readme":"# @jsquash/avif\n\n[![npm version](https://badge.fury.io/js/@jsquash%2Favif.svg)](https://badge.fury.io/js/@jsquash%2Favif)\n\nAn easy experience for encoding and decoding AVIF images in the browser. Powered by WebAssembly ⚡️.\n\nUses the [libavif](https://github.com/AOMediaCodec/libavif) library.\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/avif\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): Promise<ImageData>\n\nDecodes AVIF binary ArrayBuffer to raw RGB image data.\n\n#### data\nType: `ArrayBuffer`\n\n#### options (optional)\nType: `object`\n  - `bitDepth`: `8 | 10 | 12 | 16` (default: `8`). Specifies the desired bit depth of the decoded image data.\n    - If `bitDepth` is `8` (or not provided), the function returns a standard `ImageData` object.\n    - If `bitDepth` is `10`, `12`, or `16`, the function returns an `ImageData`-like object. The `data` property will be a `Uint16Array`.\n\n#### Example\n```js\nimport { decode } from '@jsquash/avif';\n\nconst formEl = document.querySelector('form');\nconst formData = new FormData(formEl);\n// Assuming user selected an input avif file\nconst imageData = await decode(await formData.get('image').arrayBuffer());\n```\n\n### encode(data: ImageData, options?: EncodeOptions): Promise<ArrayBuffer>\n\nEncodes raw RGB image data to AVIF format and resolves to an ArrayBuffer of binary data.\n\n#### data\nType: `ImageData`\n\n#### options\nType: `Partial<EncodeOptions>`\n\nThe AVIF encoder options for the output image. [See default values](./meta.ts).\n\n> [!NOTE]\n> To encode images with a bit depth greater than 8, the `data` property of the image object must be a `Uint16Array`. The pixel values will need to be in the appropriate range for the bit depth.\n\n#### Example\n```js\nimport { encode } from '@jsquash/avif';\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.png');\nconst avifBuffer = await encode(rawImageData);\n```\n\n#### Lossless Example\n```js\nimport { encode } from '@jsquash/avif';\n\nconst rawImageData = await loadImage('/example.png');\n// Lossless encoding can be achieved by setting the `lossless` option to `true`\nconst avifBuffer = await encode(rawImageData, { lossless: true });\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 initAvifDecode } from '@jsquash/avif/decode';\n\ninitAvifDecode(WASM_MODULE); // The `WASM_MODULE` variable will need to be sourced by yourself and passed as an ArrayBuffer.\nconst image = await fetch('./image.avif').then(res => res.arrayBuffer()).then(decode);\n```\n\nYou can also pass custom options to the `init` function to customise the behaviour of the module. See the [Emscripten documentation](https://emscripten.org/docs/api_reference/module.html#Module) for more information.\n\n```js\nimport decode, { init as initAvifDecode } from '@jsquash/avif/decode';\n\ninitAvifDecode(null, {\n  // Customise the path to load the wasm file\n  locateFile: (path, prefix) => `https://example.com/${prefix}/${path}`,\n});\nconst image = await fetch('./image.avif').then(res => res.arrayBuffer()).then(decode);\n```\n\n## Known Issues\n\nSee [jSquash Project README](https://github.com/jamsinclair/jSquash#known-issues)","users":{}}