johnameyer / cards-ts

A card game framework and various games in Typescript. The framework allows for bot development and playing card games in the terminal or in a browser.
4 stars 2 forks source link

Use ESM modules #89

Closed johnameyer closed 5 months ago

johnameyer commented 2 years ago

Seems like Node is picky about importing ESM modules, unless the class is also declared as a module... might pay to go for the two-builds route.