steam-level

0.0.2 • Public • Published

Steam Level Calculator

This is a simple and super light weight library which can calculate the required XP to level up and can calculate the total amount of XP given a level.

Reference table

Installation

$ npm install steam-level

Usage

const SteamLevel = require('steam-level');
 
// Calculate the total XP given a Steam Level
console.log(SteamLevel.getTotalXpFromLevel(72));
 
// Calculate the total amount XP required to rank up from a specific level
// For example, this would return the XP required to rank up from 72 to 73
console.log(SteamLevel.getRequiredXpFromLevel(72));

Readme

Keywords

Package Sidebar

Install

npm i steam-level

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • andrewda