Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support both CommonJS and ESM on JS implementation #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zane-dmax
Copy link

Many of us are still stuck using CommonJS due to circumstances outside of our control. The changes in this pull request will allow users of the JavaScript implementation to utilize either the CommonJS ("require") syntax or the ESM ("import") syntax.

In addition, tests were updated to include both syntaxes.

Resolves issue #10

@sebastienvillar
Copy link

Up. Is it possible to fix this?

@michalica
Copy link

michalica commented Dec 19, 2023

@hunterwb Would it be possible to merge this? I think it would help a lot of people

@TheSizkarn
Copy link

Up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants