wooorm / franc

Natural language detection
https://wooorm.com/franc/
MIT License
4.07k stars 175 forks source link

Make available for commonJs #102

Closed hamishjohnson closed 2 years ago

hamishjohnson commented 2 years ago

The requirement that we are forced to use es modules means that I can't use it with ts-node and typescript

wooorm commented 2 years ago

Please read the linked guide in both the readme and the changelog on ways to handle ESM (one solution is to stay on the previous version for now). ts-node has ESM support: https://github.com/TypeStrong/ts-node#experimental-esm-support

qertis commented 4 months ago

+1. Cannot make available for cjs use parcel build