bparser-js

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bparser-js

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

130 kB

Total Files

18

Last publish

Collaborators

  • magnus-cosmos