lordnull / dice.js

Generic RPG dice string parser and roller
MIT License
30 stars 3 forks source link

Add nodejs support #11

Closed lordnull closed 9 years ago

lordnull commented 9 years ago

This should leave browser support as is, only needing a single change if someone is using dice.parse.parse or dice.eval.eval, they should now be able to just use dice.parse and dice.eval.

Tests extended to test on node as well.

Readme updated.

lordnull commented 9 years ago

Summoning @morgul to help with review!

Morgul commented 9 years ago

@lordnull Just a few comments. Mostly looks good.