osu! mod calculator
Installation
npm i osumodcalculator
Usage
import { types, mod } from "osumodcalculator";
const mods: types.Mod[] = mod.fromString("HDDTHR"); // => ['HD', 'DT', 'HR']notes:
- EZ & HR calculations should come before DT/HT calculations
- OD is listed as accuracy in the osu! api
- HP is listed as drain in the osu! api