1.0.2 • Published 3 years ago

bparser-js v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

bparser-js

NPM Package

A minimal beatmap parse for Node.js that parses .osu files and calculates max score.

Usage

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)}`);

Response

Max score (NM): 2956474
Max score (HDHRDTFL): 4119190