LootTable.js
LootTable.js copied to clipboard
Update to support latest ECMAScript
I've been looking for a good loot table to implement into a Discord bot, and so far this seems like the best option. But I can see this was last updated 3 years ago and doesn't support the latest changes in ECMAScript. E.g. Replace "var" with let and const.
Is there any plans for a future update? Would love to be able to use this without any possible issues.
hey @nickjfrench I maintain the npm package for this. I'd like an es module too and some modernization.
I'll put a PR together for this.
https://github.com/jotson/LootTable.js/pull/7