wifipiano2
An osu!mania pp calculator library - Rewritten in JavaScript. The original Wifipiano2 is Ripple's implementation of osu-performance. In short I needed the calculator for a project, so I've rewritten it in JavaScript, as a module anyone is free to use.
Usage
npm install wifipiano2 --save
const wifipiano2 = ; let scoreData = starRating: 119 overallDifficulty: 1 objects: 1878 mods: 'none' score: 441413 accuracy: 9720;console;
- For
mods
you can pass in either'nf', 'nofail', 'ht', 'half time', 'ez', 'easy', 'none'