metaflac-js2

1.0.8 • Public • Published

metaflac-js2

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-js2 --save
const Metaflac = require('metaflac-js2');
const flac = new Metaflac('/path/to/flac.flac or buffer');
flac.setTag('TITLE=My Music');
flac.save();

Use as cli:

Usage is basically consistent with official tools.

npm i metaflac-js2 -g
metaflac-js -h

Note: here is the official FLAC tools doc

  • This is a fork of metaflac-js with minor improvements for detecting image dimensions and mime type.

Changelog:

  • Removed importPictureFromand importPictureFromBuffer

  • Added importPicture

    importPicture takes either path or buffer

Package Sidebar

Install

npm i metaflac-js2

Weekly Downloads

75

Version

1.0.8

License

ISC

Unpacked Size

21 kB

Total Files

6

Last publish

Collaborators

  • sayem314