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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i bparser-js

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

130 kB

Total Files

18

Last publish

Collaborators

  • magnus-cosmos