Read tags from all common formats. Uses ffprobe.
npm install read-audio-tagsconst readTags = require('read-audio-tags')
readTags('/path/to/audio.m4a', (err, tags) => {
if (err) console.error(err)
else console.log(tags)
})readTags(file, [ffprobe], cb)You may pass in an ffprobe path to use a custom executable, e.g. from ffprobe-static.
If you have a question or have difficulties using read-audio-tags, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.