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

How is this supposed to be used? All ways of importing don't work. #147

Open
EvokerKing opened this issue Apr 7, 2024 · 0 comments
Open

Comments

@EvokerKing
Copy link

Not a single way I have tried importing has worked.

  • Node.js says it's ESM so it can't use require() but doesn't recognize import statements
  • Using with normal JS causes import errors outside of modules
  • Using it in a JS type=module file causes a CORS error
  • Browserify returns errors claiming it doesn't exist

I don't see any instructions on this package outside of snippets of code on NPM with no context. How is it being used?

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

1 participant