Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../uploads/../../../../instantly.picotech.app/homes/../../wa.picotech.app/public_html/node_modules/escape-html/.././range-parser/../audio-decode/././.
الملفات الموجودة في هذا الـ Path:
.
..
.eslintrc.json
.github
.travis.yml
LICENSE
audio-decode.js
package.json
readme.md
test-case.js
test.html
test.js

مشاهدة ملف: test-case.js

import fs from 'fs/promises'

async function main(options) {
    const audioDecode = await import('./audio-decode.js');
    const decode = audioDecode.default;
    await audioDecode.decoders.mp3();
    const buffer = await fs.readFile('test.mp3');
    const decodedBuffer = await decode(buffer);
}

main().catch(console.error)