1.1.1 • Published 6 years ago

remove-id3v1 v1.1.1

Weekly downloads
5
License
AGPL-3.0
Repository
github
Last release
6 years ago

Remove ID3v1

Build Status

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);