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

Use with CommonJS modules #19

Closed
robross0606 opened this issue Jun 4, 2021 · 1 comment
Closed

Use with CommonJS modules #19

robross0606 opened this issue Jun 4, 2021 · 1 comment

Comments

@robross0606
Copy link

This appears to be a strict ES module that must be imported. Since not all projects use ESM, is there any way to use this package (require()) with a CommonJS module?

@sindresorhus
Copy link
Owner

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

No branches or pull requests

2 participants