jotson / LootTable.js

A loot drop table implementation in JavaScript
MIT License
44 stars 3 forks source link

Update to support latest ECMAScript #6

Open nickjfrench opened 3 years ago

nickjfrench commented 3 years ago

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.

mreinstein commented 1 year ago

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 commented 1 year ago

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

mreinstein commented 2 weeks ago

@nickjfrench https://github.com/mreinstein/random-gap?tab=readme-ov-file#loottable