goldfire / pokersolver

Javascript poker hand solver.
MIT License
373 stars 93 forks source link

Update exports logic to set module.exports #26

Open Nerdsie opened 2 years ago

Nerdsie commented 2 years ago

Some IDEs (IntelliJ to be specific) do not recognize "setting exports inside a function" logic, updating to use module.exports fixes this issue.