rarely

0.0.1-development • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i rarely

Weekly Downloads

1

Version

0.0.1-development

License

MIT

Last publish

Collaborators

  • dalisoft