remove-id3v1
v1.1.1
Published
Remove ID3v1 tags from MP3 files.
Downloads
2
Readme
Remove ID3v1
This library provides a mean to strip a file of its ID3v1 tag, when present.
There are two useful functions:
const Remover = require('remove-id3v1');
const buffer = fs.readFileSync('sample.mp3');
// Both of the functions take either a Buffer or an ArrayBuffer as the argument
// Test whether an id3v1 tag is present in the file
var hasTag = Remover.hasTag(buffer);
// Strips the tag and return the same file in a new buffer
var newBuffer = Remover.removeTag(buffer);