Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 352 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 352 Bytes

Levelling System for multiple usage.

Demo

const Level = require('./src/level');
const level = new Level().getLevel(800); // Here 800 is the total exp.

console.log(level);

Response

{
	level: 4,
	maxLevelExp: 380,
	currentLevelExp: 30,
	progressBar: '🔵౦౦౦౦౦౦౦౦౦౦౦౦౦౦',
	percentage: '8%'
}