1.0.0 • Published 2 years ago

slk-to-mp3 v1.0.0

Weekly downloads
-
License
GPLv3
Repository
github
Last release
2 years ago

slk-to-mp3

npm version npm license

slk / amr to mp3 nodeJS module

decode QQ / Wechat slk to mp3

Use

npm i slk-to-mp3
const slkToMp3 = require('slkToMp3');

(async () => {
    await convert(inputFile, outputDir, [outName]);
})();

outName is optional, default is input File Name

return

if support
    return ${outputDir}/${inputName}.mp3
else
    return null

Thank you

base in this repo

https://github.com/kn007/silk-v3-decoder

https://github.com/Binaryify/amrToMp3