https://github.com/extremeexploit/osulevelcalculator.js
A node.js module to interact with the api https://olc.howl.moe/
https://github.com/extremeexploit/osulevelcalculator.js
Last synced: about 1 month ago
JSON representation
A node.js module to interact with the api https://olc.howl.moe/
- Host: GitHub
- URL: https://github.com/extremeexploit/osulevelcalculator.js
- Owner: EXtremeExploit
- License: mit
- Created: 2018-06-17T03:40:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T23:44:30.000Z (about 5 years ago)
- Last Synced: 2025-10-28T13:59:46.091Z (8 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# osuLevelCalculator.js
## Description
This bad boi right here calculates how much score you need to level up ~~your ego~~
## Example
```js
const osulevel = require('osuLevelCalculator.js');
osulevel(10, 5150000)
```
### Total score for a level
* Current score can be 0 or undefined. by default is 0 and this parameter is optional
```js
osulevel(69); // How much we need to get to level 69
//returns 2166140247
osulevel(100, 0); // How much we need to get to level 100
//returns 26931190828
```
### Score needed for an user
```js
osulevel(98, 10525092523); // User at level 97 wants to reach level 98
//and he has a total score of 10525092523
//returns 1971303782
```