{"_id":"@audio/decode-qoa","_rev":"8-86048880568a9465136475c9eb750afa","name":"@audio/decode-qoa","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@audio/decode-qoa","version":"1.0.0","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/audio-decode/tree/main/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/audio-decode/issues"},"dist":{"shasum":"75a12419a7541970bbf5c6648853dc29d6b09b55","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.0.0.tgz","fileCount":5,"integrity":"sha512-4O57YMprL+AZtxPVOgyDhUr2C+bVcp2cHrMKzBc4zo1ZJgITLZtfVA8TklTJEiLbvVfG2F0j44xHOTqCFhqvbA==","signatures":[{"sig":"MEUCIFYm7p3O9ArU49IGk0f2Qi1+Q+GjFJehJ6tcWbAIhZROAiEAlHYoWNGVs4LQ8y3VItG4AmH8bdQRq5+3Y9xXgO9L0QY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11180},"main":"decode-qoa.js","type":"module","types":"decode-qoa.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-qoa.js","./package.json":"./package.json"},"gitHead":"6d26cd69057587574522bbd42c1af7411a9f6e74","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.11.0","description":"Decode QOA (Quite OK Audio) — self-contained bundle","directories":{},"_nodeVersion":"25.8.1","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.0.0_1775834816956_0.6734278232345723","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@audio/decode-qoa","version":"1.1.0","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.1.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/main/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"a4075b58159ca5ccc943010d6cfd19aa6bba53ec","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.1.0.tgz","fileCount":6,"integrity":"sha512-+3WZ4SyAg5fn9Chv4Sivw3fc4IIPKGUrjr1S97VVA13ANXxLKhre8spRf5UWgH0I3J6LLgHCvtrAGcqu0hk24Q==","signatures":[{"sig":"MEQCICMKSkPK6yO4Lf3PIOr3SyeLdCXo+aBB6lxiUkzninarAiBWOqc4RrFV5jE6BRqupew1Xrzm5KR0aLz9VpuZxKbSBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11602},"main":"decode-qoa.js","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-qoa.js","./audio":"./audio.js","./package.json":"./package.json"},"gitHead":"4422388b9da502b2314360902ff748379e4304d4","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA (Quite OK Audio) — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.1.0_1783648250195_0.6181553859141591","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@audio/decode-qoa","version":"1.1.1","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.1.1","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/main/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"b1417235446076685cd364c6d5d770e794ca5dd6","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.1.1.tgz","fileCount":7,"integrity":"sha512-x39aEM1nMWk5OVM2XyFfDUuNFcHVucGirvr4o70IBPk4XzbVrbYP+fxshC7OCkhd1YfUcn25t9jHdgUrFRUL1g==","signatures":[{"sig":"MEUCIBVZVSNP7jsiVk86DTeDS3O1bRB0wtd5DYenARmW9E9cAiEAuNdSH0yqyEiGESw5AARaREAUWv+lHbv15wJHKxM8od8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12718},"main":"decode-qoa.js","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=16"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"gitHead":"d0b14e75242815c92b72b1028bbd123e4b86733e","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA (Quite OK Audio) — self-contained bundle","directories":{},"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.1.1_1783701570257_0.583520103735401","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@audio/decode-qoa","version":"1.1.2","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.1.2","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/main/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"05c77b2ca2c9932fb4d875d5e114a5b44ddbbca2","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.1.2.tgz","fileCount":7,"integrity":"sha512-ljh5aQYMNu66YTMyVXEHAnqwO7+m75OD35hyGViuzW2NN+NXqHNOKf6y0DWptN3xK8fH4zK+La35MrDf1U+eOw==","signatures":[{"sig":"MEUCICqIPZ0d5/k+d+eV2NtblcF04zeRW8hSM6WOy0X3PdkeAiEA5Xsw2xW+nZPcJqcv5vc+kCLeM1GSqFqnFqjaH2hWP5c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12794},"main":"decode-qoa.js","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"fb59268366fc4991a80f01da2599fdda208ab59c","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA (Quite OK Audio) — self-contained bundle","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.1.2_1783731359594_0.20926918209681666","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@audio/decode-qoa","version":"1.1.3","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.1.3","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"30c8572736597d647236aa1dd41a3ffe8d03506c","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.1.3.tgz","fileCount":7,"integrity":"sha512-ayeJ+iWYL3GLhGVa9EXmH0jcuXDPX67Dx6uIOEYXWbkYX25Rph5s/vtz/UXjyn7DCHde3dmGNOy2cFBKRINhmQ==","signatures":[{"sig":"MEUCIHbmUGWBIR8wHMkq+huAHXersjPbvMxT/fsOfXliqv0iAiEA0Zr8lgln88C6pb4ZRDMxs3QCYXsBSu2gSNbs3MyfajY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12850},"main":"decode-qoa.js","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"00d9a337f3eeb74b245d585a872b75ab6747fc23","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA (Quite OK Audio) — self-contained bundle","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.1.3_1784035150616_0.8003998287067837","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@audio/decode-qoa","version":"1.2.0","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.2.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"d2dd279bf8063674ebe9bae120c62c8e75da6121","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.2.0.tgz","fileCount":7,"integrity":"sha512-GjbAUXzvW9PnjkgTi42Z8+rUwC5D4QkaDNgFWHzBUIhF6E4LRcHW3T3mtJVUqE1rRRyjIGmnH4dL6y3LgcEzVQ==","signatures":[{"sig":"MEUCIQCVBkGcusAqEkmb4loiZBggzF9QVi6HFSfk19o5IMkqBgIgUSXlTZsU8SE52EU4E1g+ZmsAmvdJ3qxnnJ3G98IOlbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12735},"main":"decode-qoa.js","type":"module","_from":"file:/private/tmp/audio-decode-release-ed350c9/_audio_decode-qoa/audio-decode-qoa-1.2.0.tgz","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_resolved":"/private/tmp/audio-decode-release-ed350c9/_audio_decode-qoa/audio-decode-qoa-1.2.0.tgz","_integrity":"sha512-GjbAUXzvW9PnjkgTi42Z8+rUwC5D4QkaDNgFWHzBUIhF6E4LRcHW3T3mtJVUqE1rRRyjIGmnH4dL6y3LgcEzVQ==","repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA audio to PCM samples","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.2.0_1786475568845_0.5916486750157053","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@audio/decode-qoa","version":"1.3.0","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/decode-qoa@1.3.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-qoa#readme","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"7f1f1aa0dd60dbf846605ec2fa58b3d6216519c5","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-1.3.0.tgz","fileCount":7,"integrity":"sha512-bg1VRc7NwKKDtfqj8/y+RiQnBfz0LLpqdhNJkb6cwYFNzndv/+rl5AmLwCtIf4VnAASeCz4Jw1bE8Af5JB3b3Q==","signatures":[{"sig":"MEQCIDXkt3onK3oPx0ywNO92YythcS6J6fjH3M7AFh4JvVUzAiAoFQ2pZS6QIQ5XqnZCdwjuRj6wLb2ZNia9eowOJrYafA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCrBUUlXSDfgqFcuSAUoOLlDiDiu5h7sKkX78X683LgzQIhAI5244Pdv8tFi4UIR26XvZkagsfBOrLTB4/GrBsTHhKJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9777},"main":"decode-qoa.js","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","engines":{"node":">=18"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"1bc87a1f6e3cd43eeaeb658056a70cc8c69e9fbf","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA audio to PCM samples","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/decode-qoa_1.3.0_1790374805941_0.6075809921215574","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"_id":"@audio/decode-qoa@2.0.0","bugs":{"url":"https://github.com/audiojs/decode/issues"},"dist":{"shasum":"0f1f67934733c275ec5f498fac32b52b666385f9","tarball":"https://registry.npmjs.org/@audio/decode-qoa/-/decode-qoa-2.0.0.tgz","fileCount":7,"integrity":"sha512-ZmP6nqYcCRyKOoyVElWzfm0B0+qN+RK+t7m0wu3coXdbEjhQ6q8Fzuqa87MIxoEzMmFkzRXMLxKALDcDBjIRdA==","signatures":[{"sig":"MEQCIDME978DL8kPddog9548e/0FOViCRtQlVr5X0cIXyUvoAiBNV+bN+XskrfEFm9zNc5G5m7/LqkcyoijH75iNG05pag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDFhYnNrEG1qyIxWFBhMI3+Q+DWu0Oi6x/9X48r0csqYAIhAIhbtIztYo/Z3LqUbUxKPnOylBEnUYgZmp6ctHXqX5Ot"}],"unpackedSize":9777},"main":"decode-qoa.js","name":"@audio/decode-qoa","type":"module","audio":"./audio.js","types":"decode-qoa.d.ts","author":{"name":"audiojs"},"engines":{"node":">=18"},"exports":{".":"./decode-qoa.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"1c88e2371bc5ef978c5c25b15c27aacbcea6b04a","license":"MIT","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"version":"2.0.0","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-qoa#readme","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"_npmVersion":"11.12.1","description":"Decode QOA audio to PCM samples","directories":{},"maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"qoa-format":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/decode-qoa_2.0.0_1790635549643_0.2981810654862471"}}},"time":{"created":"2026-04-10T15:26:56.845Z","modified":"2026-09-28T22:45:49.877Z","1.0.0":"2026-04-10T15:26:57.097Z","1.1.0":"2026-07-10T01:50:50.321Z","1.1.1":"2026-07-10T16:39:30.401Z","1.1.2":"2026-07-11T00:55:59.729Z","1.1.3":"2026-07-14T13:19:10.760Z","1.2.0":"2026-08-11T19:12:48.992Z","1.3.0":"2026-09-25T22:20:06.016Z","2.0.0":"2026-09-28T22:45:49.729Z"},"bugs":{"url":"https://github.com/audiojs/decode/issues"},"author":{"name":"audiojs"},"license":"MIT","homepage":"https://github.com/audiojs/decode/tree/master/packages/decode-qoa#readme","keywords":["qoa","audio","decode","decoder","quite-ok-audio"],"repository":{"url":"git+https://github.com/audiojs/decode.git","type":"git","directory":"packages/decode-qoa"},"description":"Decode QOA audio to PCM samples","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/decode-qoa\n\nDecode QOA (Quite OK Audio) to PCM samples with [qoa-format](https://github.com/nicokoenig/qoa-format).\n\n```js\nimport decode, { decoder } from '@audio/decode-qoa'\n\nlet { channelData, sampleRate } = decode(qoaBytes)\n\nlet dec = decoder()\nlet result = dec.decode(completeQoaFile)\ndec.free()\n```\n\n`decode()` and `decoder()` are synchronous. The decoder takes chunks of any size and returns the frames they complete (each QOA frame carries its own LMS state). A header with `samples: 0` is QOA's streaming mode: frames decode until the data ends.\n\n## License\n\n[ॐ](https://github.com/krishnized/license/) · [MIT](./LICENSE)\n","readmeFilename":"README.md"}