{"_id":"@audio/encode-mp3","_rev":"12-818735b6a2fa89c2ead1ed7a781276b2","name":"@audio/encode-mp3","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"@audio/encode-mp3","version":"1.0.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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-encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/audio-encode/issues"},"dist":{"shasum":"f69182fae2504b5fc5594956288fd1acb3bf220c","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.0.0.tgz","fileCount":5,"integrity":"sha512-MZ8A/tjRxHHyWSjOY5/Hu2rGwADMLhKaE7JKRYa6revaNPbcSK9YSwiTPzA7p01Tpdo5OZ497/jmoRKcHfKlwA==","signatures":[{"sig":"MEYCIQCqU7MstqE4A/9TTk3yqiUQa9rIaexOrUAEV89JcwEoKwIhAMrxCBI2e+Aaajrg2GDPgC7Yz3Xtc0/gXnGkIn4uUxNG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4870},"main":"mp3-encode.js","type":"module","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./package.json":"./package.json"},"gitHead":"25114d8e1d0c13c6fca3393ecae12f44b805f739","scripts":{"test":"node test.js"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.11.0","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.8.1","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.0.0_1775271982361_0.018286587792127218","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@audio/encode-mp3","version":"1.0.1","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@1.0.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/audio-encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/audio-encode/issues"},"dist":{"shasum":"72b678bd8b4af2bc516e77de37594b207a4d4ed9","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.0.1.tgz","fileCount":5,"integrity":"sha512-RjmJnBan8iRXDNDH/RkCPALA3gqnj0BVlphuvaWqWIsV+6s3g+6IIry8kd4thiVk5byRNkiq9dUh7kgZkklw8A==","signatures":[{"sig":"MEQCICJt9SAccfxZ5YMr0ZVBbFBp0B+McS7ScslVO+w6WoMhAiAbkMFtO4+9tWjTK4/hSjS7EDP1cJmUyd42iMZ4sD/wpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5409},"main":"mp3-encode.js","type":"module","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./package.json":"./package.json"},"gitHead":"de7eabd2780a4d1fb2cb3dcc3516011ed18d9d33","scripts":{"test":"node test.js"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.11.0","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.8.1","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.0.1_1775361466018_0.10148432283694797","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@audio/encode-mp3","version":"1.1.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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/audio-encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/audio-encode/issues"},"dist":{"shasum":"73e76b410d5a6dee71c77e2c7d68769b249714f2","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.1.0.tgz","fileCount":6,"integrity":"sha512-mxJfP3Dff0ycxWxmPdH7OPym9Be9TaxdtyTh7gI2jeM7iwhCgAf6R3Z4yOvmEuUPtH3RTgUUhAHt3aLkjvuPBA==","signatures":[{"sig":"MEUCIAvXKzp8ezWMl6sdph6FPYkvudQduyLfOJJa5aAh6ylsAiEA9CtJY9lNYXwh3paZ2kFcSCNlElne+6IA14n627pmHzw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9047},"main":"mp3-encode.js","type":"module","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./package.json":"./package.json"},"gitHead":"c2b04ff719af8515c7afd9d3cc1ad5d2ba8d77ee","scripts":{"test":"node test.js"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/audio-encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.11.0","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.8.1","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.1.0_1776718579996_0.7635241416411742","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@audio/encode-mp3","version":"1.1.1","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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/audio-encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/audio-encode/issues"},"dist":{"shasum":"4888ada698ffa94937205bf0ffc9af3c6cfc4a4b","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.1.1.tgz","fileCount":6,"integrity":"sha512-4yQmbrvuVCry8l79I/w/dR2SHMNnHFu9cke8BRYoQLwNi2wf0gfJUWWANU8EzbFheqeaoDOjnCPvSsdKUPVdvA==","signatures":[{"sig":"MEYCIQCdKKAwFWxbxk0HI5c+gRw6tPSimHT9G7YJikJGBdHqPwIhAOt2RQjYeGjLpi6YyuN0csI9ae4ow/rVd0kDL9dUjOsZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193578},"main":"mp3-encode.js","type":"module","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./package.json":"./package.json"},"gitHead":"65c44255b4a0b6e60971a70628a8c27e9a2996b8","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-encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.11.0","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.8.1","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.1.1_1777321029273_0.4258155881789374","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@audio/encode-mp3","version":"1.1.2","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"2cd16cdc8d9166c1ab1e29dde6ee5599963611f4","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.1.2.tgz","fileCount":6,"integrity":"sha512-Ahvf5/EONVxafKP9YgpHVKEMbbc1Oz0g1h3J7oCryVqq90381hGg1qmw1LlyuJI/h6KwihH8Jl6ZugI5ra6zhw==","signatures":[{"sig":"MEYCIQCmO42mXBwzu5Fcv+I8R8UTMO00AP7F/GwoSMTKAd8LWgIhANObv50mZBWwRAfpDmFWnUX1xMwCW41h6NHZ95bkDLvd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193560},"main":"mp3-encode.js","type":"module","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./package.json":"./package.json"},"gitHead":"f85288e189c42c925d7bcef0d626a79df4190abf","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.1.2_1783635437994_0.05747523229114715","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@audio/encode-mp3","version":"1.2.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"e970ddd8b82ff428fde276066e7d0f6e128f01a5","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.2.0.tgz","fileCount":7,"integrity":"sha512-PBKGjVqJkiA+taUMA8jutBw0zaygoq8ME8S84pB1Msp9Qdt/Rbc8q129yaptzM3J7knPJVCVF/fW1b6FANvVGw==","signatures":[{"sig":"MEQCIBSMqqfXMTWQmCZsrCo7FctKJSEaR7y/zdqMMzVeI6+tAiBZ8koLaLLyZojxXK0QGgtcSukfovUP3qQyTd11JQiPjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":194145},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":"./audio.js","./package.json":"./package.json"},"gitHead":"7fe59acb7f70c70de376d18004a0606badae8946","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.2.0_1783648272893_0.5055512866415026","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@audio/encode-mp3","version":"1.2.1","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@1.2.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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"e6c494c8550334aaee2d8c9e671120bd9192cf11","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.2.1.tgz","fileCount":8,"integrity":"sha512-X+q1Ip0GW8JuE+gLzKLtTR2FfQmHoJl/5kIq9DF6H3CDZvnNZ511yzFh7i3iMFF2Ef8YOasLFIRkdesIaxoWKQ==","signatures":[{"sig":"MEUCIGzIjPr6HDWP3EtycyHZJ7clpIn2jSriJxDMbyZCr+CSAiEA/QImhIKediVmUguYGbquRdMxqCoZcDD/7s9EJARhlEM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195266},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=16"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"gitHead":"baaf2b58491cf084e9f2231080200a032a421e64","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.2.1_1783701692733_0.812219617957034","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@audio/encode-mp3","version":"1.2.2","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@1.2.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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"353821b87a614d0331cf75f45cd51fed8cea60a0","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.2.2.tgz","fileCount":8,"integrity":"sha512-24tI04E6g3Z8vZy8mgWDrRGntyiPHIRoLM5D/5iFvKDdqut7Si6OGeL7odhSXXf5tyCOjJ/zZKLmFrmeJp8uzA==","signatures":[{"sig":"MEQCIGJne8hDuOpQ1QLA/bSz9RTM8I27pU54vc2lVqeiWKpsAiBVyYWZ4DW9oI3jqDzWTR3R+ad1ODZPFczRZ5tmR+UfGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195342},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=18"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"e8be2343b772ae90b38511ed5f7b538964d05aee","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.2.2_1783731532262_0.24850719745258343","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@audio/encode-mp3","version":"1.3.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"6ac0cb4655aecf47a30e10471723cc8c136c16af","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.3.0.tgz","fileCount":8,"integrity":"sha512-OgFzNNxEtdJQFlHF/C8o2EmiaJrWR5fArs8a8lITFVtVm1eXrN1SxC6mdVWtb4wMXd/nGKzsR9Nulf8WkbxTSA==","signatures":[{"sig":"MEUCIAGeuNKYObQ2bDYoMUMbx5jZ1z2zKr6JqZ6zaOdmKIeTAiEA58p0rnHozEcwMk4uBG6VUoXBqU1T9tTBS5JjkP2BIis=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCW1f6WAgz6tqNVVcHnxK12T09tKlJjMTqYgIT7F0bsIAIhAIRj9a9ZqDAp2WAp7FFh/FIDA7/iBe1fr2Pr7kN2A1ZD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":205869},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=18"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"e3abfd6435ebb2f77f0780a103f04f1249e4dfeb","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.3.0_1790375081045_0.642067725217929","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@audio/encode-mp3","version":"1.4.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@1.4.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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"369861c9c1d738a4846f660e9f6fe01b2f322772","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-1.4.0.tgz","fileCount":8,"integrity":"sha512-2u7pHAlE8sF4v755AXYh+QTrDc93K2B/COSGRKc64NeHib5dTqLvz58p9h4zhjUxNmr83dsa+vdJK9vFlQoRLg==","signatures":[{"sig":"MEUCIQD5uqj813m2D841zuI7Z7Ip3Hk6NiAgDFlQsC0bPEZ1VwIgZ6e93H73CqAEXpAmtDhsuzEG/El4mIpqNfwK4wEPXwY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDkYjw0rllYHc2ev9yyA9cXU2EvRajFaOLWiCao28KhLgIgLn5mVwfo2+iFFJOTH6yNlzVv7ualnrcnDGC9pViTsr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":206157},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=18"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"1d81161a315147ec258ac728e2d146014ce426ea","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_1.4.0_1790375905423_0.8980331614356301","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@audio/encode-mp3","version":"2.0.0","keywords":["mp3","lame","audio","encode","encoder","wasm"],"author":{"name":"audiojs"},"license":"MIT","_id":"@audio/encode-mp3@2.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/encode/tree/main/packages/encode-mp3","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"e887f31bf34d24ae1592e91f7cc3262bf3f3f927","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-2.0.0.tgz","fileCount":8,"integrity":"sha512-EK/x/iP2WyAV4q/Ztv7P2EljqmETOR8yIFiM5iXZG8RvRKbIa7a5US0b8+ivyZQt8liJZSagBzOQrNQp3hWUYw==","signatures":[{"sig":"MEYCIQDspGNEYP0/WyAbBfX7TgONT5LZLpH7aoBptmVeAd/OLAIhAKttO0pz0a6clQfJ1Ojlop/8UJmDRqvpgbLBF0UeyhjX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHJbc8Q1a0LUdn9uOkepKcvum/MadFWXDPBnAaazEPAqAiBVy6UWio5Wp0srtEc3cKjx8PFp//lVhU9OczCuwrGsXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":211837},"main":"mp3-encode.js","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","engines":{"node":">=18"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"1c625d729059d8a91cbfdb19ce5ecb54235b3ccc","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/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","dependencies":{"wasm-media-encoders":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/encode-mp3_2.0.0_1790636052061_0.7167026234374747","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"_id":"@audio/encode-mp3@2.0.1","bugs":{"url":"https://github.com/audiojs/encode/issues"},"dist":{"shasum":"1ab73ec03014d3ea5398194673baf49c32745566","tarball":"https://registry.npmjs.org/@audio/encode-mp3/-/encode-mp3-2.0.1.tgz","fileCount":8,"integrity":"sha512-hCOPSgzr5aw268HpHxALGP1bctI16wBODQ0+h/d35B8TjiSCDNoUKyIbhXI+xEHoGX4te+PlwEuaXytGJWZOiQ==","signatures":[{"sig":"MEUCIQCkkYjnnXvbaZnXR2hWmLnhfl9S+Vjrn6oezmHWsscM4gIgTX41TpZLzfdloUAhXx6MWyt5VFq3jZdHqPuvcIZ2mnA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCVbeV4n340bh2dqJIha+5FWAAykp4lXmrBV36NMgz9AAIgI2lYprv9f7RctaViq7QXAsTYgEZlgE2sFPYxei9Q5LI="}],"unpackedSize":211840},"main":"mp3-encode.js","name":"@audio/encode-mp3","type":"module","audio":"./audio.js","types":"mp3-encode.d.ts","author":{"name":"audiojs"},"engines":{"node":">=18"},"exports":{".":"./mp3-encode.js","./meta":"./meta.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"8d914d0a76e5266b6a2591c11ea43aa0aeec1189","license":"MIT","scripts":{"test":"node test.js","build":"bash build.sh","prepack":"npm run build"},"version":"2.0.1","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"homepage":"https://github.com/audiojs/encode/tree/main/packages/encode-mp3","keywords":["mp3","lame","audio","encode","encoder","wasm"],"repository":{"url":"git+https://github.com/audiojs/encode.git","type":"git","directory":"packages/encode-mp3"},"_npmVersion":"11.12.1","description":"Encode PCM audio samples to MP3 format via WASM","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","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"wasm-media-encoders":"^0.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/encode-mp3_2.0.1_1791291393223_0.09933999325383525"}}},"time":{"created":"2026-04-04T03:06:22.249Z","modified":"2026-10-06T12:56:33.608Z","1.0.0":"2026-04-04T03:06:22.523Z","1.0.1":"2026-04-05T03:57:46.165Z","1.1.0":"2026-04-20T20:56:20.135Z","1.1.1":"2026-04-27T20:17:09.487Z","1.1.2":"2026-07-09T22:17:18.182Z","1.2.0":"2026-07-10T01:51:13.044Z","1.2.1":"2026-07-10T16:41:32.893Z","1.2.2":"2026-07-11T00:58:52.447Z","1.3.0":"2026-09-25T22:24:41.170Z","1.4.0":"2026-09-25T22:38:25.582Z","2.0.0":"2026-09-28T22:54:12.183Z","2.0.1":"2026-10-06T12:56:33.378Z"},"bugs":{"url":"https://github.com/audiojs/encode/issues"},"author":{"name":"audiojs"},"license":"MIT","homepage":"https://github.com/audiojs/encode/tree/main/packages/encode-mp3","keywords":["mp3","lame","audio","encode","encoder","wasm"],"repository":{"url":"git+https://github.com/audiojs/encode.git","type":"git","directory":"packages/encode-mp3"},"description":"Encode PCM audio samples to MP3 format via WASM","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/encode-mp3\n\nEncode PCM audio samples to MP3 format.<br>\nWASM (libmp3lame via wasm-media-encoders) — works in both node and browser.\n\n[![npm install @audio/encode-mp3](https://nodei.co/npm/@audio/encode-mp3.png?mini=true)](https://npmjs.org/package/@audio/encode-mp3/)\n\n```js\nimport mp3 from '@audio/encode-mp3';\n\nconst encoder = await mp3({ sampleRate: 44100, channels: 1, bitrate: 128 });\nconst chunk = encoder.encode(channelData); // → Uint8Array (MP3 frames)\nconst tail = encoder.flush();              // → Uint8Array (remaining)\n// concatenate chunk + tail, then write encoder.head() over the start\n```\n\n### Gapless\n\nThe output opens with an Info (CBR) or Xing (VBR) frame carrying LAME's tag: the frame and byte counts, a seek TOC, and the encoder delay (576 samples) and padding that decoders trim (ffmpeg, mpg123, Apple's AudioToolbox, LAME's own), so a decoded file has the source's exact length and timing. The totals are known at the end: `head()` after `flush()` returns the finished frame (after the ID3 tag when one leads) to write over the start; the whole-file `encode.mp3(...)` of `@audio/encode` does it for you. Unpatched (a pipe), the placeholder still carries the delay, and with `frames` (the exact length upfront) the frame count and padding too.\n\n### Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| `sampleRate` | — | Sample rate (required) |\n| `channels` | `2` | `1` (mono) or `2` (stereo) |\n| `bitrate` | `128` | CBR bitrate in kbps |\n| `quality` | — | VBR quality 0–9 (0=best). If set, overrides bitrate. |\n\n### Streaming\n\n```js\nconst encoder = await mp3({ sampleRate: 44100, channels: 1, bitrate: 192 });\nconst a = encoder.encode(chunk1); // → Uint8Array\nconst b = encoder.encode(chunk2); // → Uint8Array\nconst c = encoder.flush();        // → Uint8Array\n// complete MP3 = concat(a, b, c), encoder.head() written over its start\nencoder.free();\n```\n\n### Streaming output\n\n`chapters: [{ time, title }]` (seconds) become ID3v2 CTOC/CHAP frames ([ID3v2 Chapter Frame Addendum](https://id3.org/id3v2-chapters-1.0)), in `writeMeta` too. `stream: true` puts the tag (`meta`, `chapters`) ahead of the first frames; the last chapter's end is unknown until `head()` returns the finished tag after `flush()`, unless `frames` gives the exact length upfront.\n\n## License\n\n[MIT](LICENSE)\n\n<a href=\"https://github.com/krishnized/license/\">ॐ</a>\n","readmeFilename":"README.md"}