Package Exports
- ezsteam
- ezsteam/index.js
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 (ezsteam) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
EzSteam
1.0.0 release
A simply and lightweight package to interact with Steam API and convert IDs. JSON format.
Getting started
const { Ezsteam } = require('ezsteam');
const ezsteam = new Ezsteam('API KEY GOES HERE');
// Get Steam64 ID from Steam custom ID.
async function getS64() {
const s = await ezsteam.getSteam64('caracolreal');
console.log(s);
}
getS64()
// Get Steam64 ID from Steam custom ID.
async function getC() {
const s = await ezsteam.getCustom('76561197960435530');
console.log(s);
}
getC()Made w/❤ by cctwaterson. Steam profile