rarely
v0.0.1-development
Published
An Javascript Snipper for making Random things that you can control rarity
Readme
rarely
An Javascript Snipper for making Random things that you can control rarity
Example
let rr = new Rarely({ frequency : 1, rareEffeciency : 2 });
rr.call((chest) => { console.log(`Wow, you got ${ chest} chest`); });
rr.err((chest) => { console.log(`Oh, no, you not get the ${ chest } chest`); });
rr.run('Super magical');License
MIT-License
