A minimal beatmap parse for Node.js that parses .osu files and calculates max score.
const bparser = require("bparser-js");
var beatmap = new bparser.BeatmapParser("path/Kuba Oms - My Love (W h i t e) [Normal].osu");
console.log(`Max score (NM): ${beatmap.maxScore}`);
console.log(`Max score (HDHRDTFL): ${beatmap.getMaxScore(1112)}`);
Max score (NM): 2956474
Max score (HDHRDTFL): 4119190