mirror of
https://github.com/captbaritone/webamp.git
synced 2026-11-13 18:17:28 -10:00
10 lines
307 B
JavaScript
Executable File
10 lines
307 B
JavaScript
Executable File
const fs = require("fs");
|
|
const path = require("path");
|
|
const { parser } = require("winamp-eqf");
|
|
|
|
const presetsPath = path.join(__dirname, "../presets/winamp.q1");
|
|
const content = fs.readFileSync(presetsPath);
|
|
const presetObjects = parser(content);
|
|
|
|
console.log(JSON.stringify(presetObjects, null, " "));
|