0.9.1 • Published 6 years ago

osu-json v0.9.1

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

osu-json

An ECMAScript 6 NPM module for parsing .OSU files into JSON.

Usage

// Require the module
const osujson = require('osu-json');

// Load the file to string however you like
const fs = require('fs');
let file = fs.readFileSync('./STYX_HELIX.osu', 'utf8');

// Then call 'ParseOSUFileAsync()'; it will return a promise for you to handle
osujson.ParseOSUFileAsync(file).then( (output)=>{
    console.log(JSON.stringify(output));
})
.catch( (err)=>{
    throw new Error(err);
});
0.9.1

6 years ago

0.9.0

6 years ago

0.8.7

6 years ago

0.8.6

6 years ago

0.8.5

6 years ago

0.8.4

6 years ago

0.8.3

6 years ago

0.8.2

6 years ago

0.8.1

6 years ago

0.8.0

6 years ago