{"_id":"@abasb75/turbojpeg-decoder","_rev":"3-a80334c9ecb847e2405049aa64eec826","name":"@abasb75/turbojpeg-decoder","dist-tags":{"latest":"3.1.2-b"},"versions":{"3.0.4":{"name":"@abasb75/turbojpeg-decoder","version":"3.0.4","author":"","_id":"@abasb75/turbojpeg-decoder@3.0.4","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/libjpeg-turbojs#readme","bugs":{"url":"https://github.com/abasb75/libjpeg-turbojs/issues"},"dist":{"shasum":"e9273810c1d9f26383a19fd0b01014573164c4b5","tarball":"https://registry.npmjs.org/@abasb75/turbojpeg-decoder/-/turbojpeg-decoder-3.0.4.tgz","fileCount":12,"integrity":"sha512-XuFTtPXb/6B+xvU4Exg5XAnj6Q1OtvRMQmeoTbO5BaG53w4szeo3EbS9jOk51qwObR5WoYoHDpmuv5LJ4scxUg==","signatures":[{"sig":"MEUCIQD+qV2HbQgtuuv+t8u6vNGNyOX7mdjfutkHda2/bVmcZwIgd380a6HzK+EgpCHG2p3K/mJkv8Y19xZWO0grzsEos/k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":575097},"main":"index.js","types":"interface.d.ts","gitHead":"50c0b515de6a74dc10fbcbb06286fc0bed08d4f3","scripts":{"build":"tsc --project ./tsconfig.json"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"https://github.com/abasb75/libjpeg-turbojs/raction.git","type":"git"},"_npmVersion":"10.9.0","description":"libjpeg-turbo for browsers/nodejs (only decoder)","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/turbojpeg-decoder_3.0.4_1733642205763_0.873994550649329","host":"s3://npm-registry-packages"}},"3.1.2-a":{"name":"@abasb75/turbojpeg-decoder","version":"3.1.2-a","author":"","_id":"@abasb75/turbojpeg-decoder@3.1.2-a","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"homepage":"https://github.com/abasb75/libjpeg-turbojs#readme","bugs":{"url":"https://github.com/abasb75/libjpeg-turbojs/issues"},"dist":{"shasum":"5defa6ecffdbf0c9ae9d1227c36eee488d3ef3a4","tarball":"https://registry.npmjs.org/@abasb75/turbojpeg-decoder/-/turbojpeg-decoder-3.1.2-a.tgz","fileCount":8,"integrity":"sha512-qJLSQONV/E6stpMo3clTJAzN8MgjNWGCVS0BEDRic4+HdU7XlgJuah4r8gcHvwqyhzAbf7QGAmGcHfb0jfmylQ==","signatures":[{"sig":"MEUCIQCnFL9XCFmR2YFlbKxqZeZj62jldqlPJM9HiLl+bMy+GQIgQtxdGKjJj0ca4+d397sgJx+bIqI0gnmnmAojLVvrnNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355215},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b640e21987b11ed0950a979c898fa319bca3fba0","scripts":{"build":"tsup"},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"repository":{"url":"https://github.com/abasb75/libjpeg-turbojs/raction.git","type":"git"},"_npmVersion":"10.9.2","description":"libjpeg-turbo for browsers","directories":{"test":"test"},"_nodeVersion":"22.15.0","dependencies":{"tsup":"^8.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/turbojpeg-decoder_3.1.2-a_1765340656641_0.9478845896379435","host":"s3://npm-registry-packages-npm-production"}},"3.1.2-b":{"name":"@abasb75/turbojpeg-decoder","version":"3.1.2-b","description":"libjpeg-turbo for browsers","main":"dist/index.js","types":"dist/index.d.ts","directories":{"test":"test"},"scripts":{"build":"tsup"},"author":"","repository":{"type":"git","url":"https://github.com/abasb75/libjpeg-turbojs/raction.git"},"bugs":{"url":"https://github.com/abasb75/libjpeg-turbojs/issues"},"homepage":"https://github.com/abasb75/libjpeg-turbojs#readme","dependencies":{"tsup":"^8.5.1"},"devDependencies":{"typescript":"^5.9.3"},"_id":"@abasb75/turbojpeg-decoder@3.1.2-b","gitHead":"b640e21987b11ed0950a979c898fa319bca3fba0","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-YUqBzEWQq3J/J/W1ng2W8e07qnb8n+LZ4ZcKM61jZfi2S0e34dbFJS1ajSa1FiLxI+oXfcSNbp0gVbpnWXH2+A==","shasum":"0320ef88c0c72a1daf3e1d9e0aca19f8062e7694","tarball":"https://registry.npmjs.org/@abasb75/turbojpeg-decoder/-/turbojpeg-decoder-3.1.2-b.tgz","fileCount":8,"unpackedSize":3115519,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEabFlpD06iZVNhC80r+WlKTrpD+xaBS1zWMBygjcBfEAiEA9b2z+m865ngyocnAaEc7S7chNzfLAIXlS2G0vRaTW7M="}]},"_npmUser":{"name":"abasb75","email":"abasbagheria@gmail.com"},"maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/turbojpeg-decoder_3.1.2-b_1765342135912_0.3068130162616949"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-08T07:16:45.679Z","modified":"2025-12-10T04:48:56.325Z","3.0.4":"2024-12-08T07:16:46.497Z","3.1.2-a":"2025-12-10T04:24:16.802Z","3.1.2-b":"2025-12-10T04:48:56.139Z"},"bugs":{"url":"https://github.com/abasb75/libjpeg-turbojs/issues"},"homepage":"https://github.com/abasb75/libjpeg-turbojs#readme","repository":{"type":"git","url":"https://github.com/abasb75/libjpeg-turbojs/raction.git"},"description":"libjpeg-turbo for browsers","maintainers":[{"name":"abasb75","email":"abasbagheria@gmail.com"}],"readme":"## @abasb75/jpeg2000-decoder (only decoder)\nJS/WebAssembly build of [OpenJPEG](https://github.com/uclouvain/openjpeg)\n\n## Description\n`OpenJPEG` support most of `OpenJPEG2000` decoding or encoding.\n\n## Using generated Javascript File:\n1. install From `npm`:\n\n```bash\nnpm i --save @abasb75/jpeg2000-decoder@2.5.4-decoder\n```\n\n2. import `@abasb75/jpeg2000-decoder`:\n\n```js\nimport { OpenJPEGWASM } from '@abasb75/jpeg2000-decoder'\n\n...\nlet decoder,encoder;\nOpenJPEGWASM().then(function(openjpegjs) {\n    decoder = new openjpegjs.J2KDecoder();\n});\n...\n\n```\n\n# Decode\n\n```javascript\n\nimport {decode} from \"@abasb75/jpeg2000-decoder\";\n\nconst decoded = await decode(arrayBuffer); // ArrayBuffer\n\n\n```\n\nFor see example you can use <a href=\"https://github.com/abasb75/openjpeg/blob/master/test/browser/index.html\">this link</a>","readmeFilename":"README.md"}