ID3 tag parsing functionality.
npm i @svta/cml-id3
import { getId3Frames } from "@svta/cml-id3";
// id3Data holds the bytes of one ID3 tag, for example from an HLS timed metadata sample.
function logId3Frames(id3Data: Uint8Array): void {
for (const frame of getId3Frames(id3Data)) {
console.log(frame.key, frame.data);
}
}
A collection of tools for working with ID3v2 tags.
See