Skip to content

r0neko/osuParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osuParser

Syncronous osu! beatmap file parser written in JavaScript.

Installation

osuParser requires node.js v4+ to run.

Install this package through npm(NodeJS Package Manager).

$ npm install @r0neko/osuparser

Usage

Example code:

const osuParser = require("@r0neko/osuparser");

console.log("Opening the beatmap!");
let map = osuParser.ParseFile("./TestMap.osu");
// or osuParser.Parse(string) if you want to parse the map from raw string

console.log(`Map opened; ${map.title} - ${map.artist}(${map.creator}) [${map.version}] - Designed for GameMode ${map.mode}`);
console.log(`Audio file: ${map.audio}`);
console.log(`HP: ${map.hp}; CS: ${map.cs}; OD: ${map.od}; CS: ${map.cs}`);

About

osu! beatmap file parser. Written in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published