About
cue-parser is an cue-sheet parser library written for nodejs. Most of the code is inspired by cue-go
How to use
Add dependency in your package.json
file:
{
"dependencies": {
"cue-parser": "0.0.2"
}
}
use it in you node source code
const fs = require('fs');
const parser = require('cue-parser');
var cuefiledata = fs.readFileSync('filename.cue', { encoding: 'utf8' } );
var cuesheet = parser.parse(cuefiledata);
console.log(cuesheet.performer);
console.log(cuesheet.files);
console.log(cuesheet.files[0].tracks);