LootTable.js icon indicating copy to clipboard operation
LootTable.js copied to clipboard

Update to support latest ECMAScript

Open nickjfrench opened this issue 4 years ago • 3 comments

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.

nickjfrench avatar Jun 11 '21 03:06 nickjfrench

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.

mreinstein avatar Oct 11 '23 21:10 mreinstein

https://github.com/jotson/LootTable.js/pull/7

mreinstein avatar Oct 13 '23 21:10 mreinstein