0.0.16 • Published 2 months ago

osu-functions v0.0.16

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 months ago

osu functions

This repo is meant to be up-to-date, providing type-safety and synchronous & asynchronous functions to make development for your projects much easier.

NPM Version npm bundle size GitHub issues GitHub issues

Roadmap


  • Write scores.db
  • Read collections.db
  • Write collections.db
  • Read osu!.db
  • Write osu!.db
  • Read .osr
  • Write .osr
  • Read .osu
  • Write .osu

Features


To-Be-Completed as updates roll-out.

Read scores.db

import * as path from "path";
import {tools} from "osu-functions";

const scores = await tools.scoresRead(path.resolve('PATH TO FILE')) // returns beatmap_type[]
/// Whatever you have to do with result...

Types


beatmap_type

{
    md5: string;
    scores: "score_type[]";
}

score_type

{
    mode: number;
    version: number;
    c300: number;
    c100: number;
    c50: number;
    cGeki: number;
    cMiss: number;
    cKatu: number;
    replayScore: number;
    maxCombo: number;
    perfectCombo: number;
    mods: number;
    timestampWindows: string;
    timestampMs: number;
    onlineScoreId: string;
    player: string;
    beatmapMd5: string;
    replayMd5: string;
}
0.0.11

2 months ago

0.0.12

2 months ago

0.0.13

2 months ago

0.0.14

2 months ago

0.0.15

2 months ago

0.0.9

2 months ago

0.0.16

2 months ago

0.0.1

4 months ago

0.0.0

4 months ago