read-audio-tags

Read tags from all common formats.

Usage no npm install needed!

<script type="module">
  import readAudioTags from 'https://cdn.skypack.dev/read-audio-tags';
</script>

README

read-audio-tags

Read tags from all common formats. Uses ffprobe.

npm version build status ISC-licensed chat on gitter support me on Patreon

Installing

npm install read-audio-tags

Usage

const readTags = require('read-audio-tags')

readTags('/path/to/audio.m4a', (err, tags) => {
    if (err) console.error(err)
    else console.log(tags)
})

API

readTags(file, [ffprobe], cb)

You may pass in an ffprobe path to use a custom executable, e.g. from ffprobe-static.

Contributing

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.