Package Exports
- steam-level
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steam-level) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
Installation
$ npm install steam-levelUsage
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));