Universal Compatibility
Works seamlessly with Deno, Node.js, Bun, web browsers, and Cloudflare Workers
TagLib compiled to WebAssembly with TypeScript bindings for universal audio metadata handling
import { readTags, updateTags } from "taglib-wasm/simple";
// Read tags - just one function call!
const tags = await readTags("song.mp3");
console.log(tags.title, tags.artist, tags.album);
// Update tags in-place - even simpler!
await updateTags("song.mp3", {
title: "New Title",
artist: "New Artist",
album: "New Album",
});import { TagLib } from "npm:taglib-wasm";npm install taglib-wasmbun add taglib-wasmThe JavaScript/TypeScript ecosystem lacked a robust, universal solution for reading and writing audio metadata across all popular formats. Existing solutions were either:
TagLib-Wasm solves these problems by bringing the power of TagLib – the industry-standard C++ audio metadata library – to JavaScript via WebAssembly.