metaflac-js
A pure JavaScript implementation of the metaflac (the official FLAC tool written in C++)
This is a tool that has just been completed, I hope to help you, and I hope we can optimize it together.
Use as module:
npm i metaflac-js --save
const Metaflac = require('metaflac-js');
const flac = new Metaflac('/path/to/flac.flac');
flac.setTag('TITLE=My Music');
flac.save();
Use as cli:
Usage is basically consistent with official tools.
npm i metaflac-js -g
metaflac-js -h
Note: here is the official FLAC tools doc