A simple, easy to use module for interacting with the Krunker.io Social Page
Setup and Installation
$ npm i krunker.io
Example Usage
const KrunkerJS = require('krunker.io');
const Krunker = new KrunkerJS();
Krunker.getUser('Helinho').then(data => {
console.log(data);
console.log(data.simplified);
Krunker.getLevel(data);
Krunker.getPlayTime(data);
Krunker.getKDR(data);
Krunker.getWL(data);
Krunker.getSPK(data);
});
Another Example
const KrunkerJS = require('./index.js');
const Krunker = new KrunkerJS();
(async () => {
const user = await Krunker.getUser('Helinho');
console.log(user);
console.log(user.simplified);
})();
Help
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle
nudge in the right direction, please don't hesitate to join my Development Server.