Add support for Node.js require
nermin99 opened this issue · comments
Add support for being able to use require instead of import.
This is useful when working with Node.js and you for some reason can't use ES modules
I intentionally want to keep this module ESM-only. As a workaround, you can use ESM within CommonJS modules with await import(...)
.