How to use the node-id3.removeTags function in node-id3

To help you get started, we’ve selected a few node-id3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cadejscroggins / catz / src / app / Song.jsx View on Github external
tagMp3() {
    const tags = {
      title: this.props.title,
      artist: this.props.artist,
      album: this.props.album,
      image: this.verifyImage(this.tmpArt) ? this.tmpArt : false,
      trackNumber: `${this.props.trackNum}/${this.props.totalTracks}`,
    };

    nodeID3.removeTags(this.tmpSong);
    nodeID3.write(tags, this.tmpSong);
  }

node-id3

Pure JavaScript ID3v2 Tag writer and reader

MIT
Latest version published 2 years ago

Package Health Score

53 / 100
Full package analysis