How do I import modules from github if they are using require internally?
#18628
Unanswered
shivam-tripathi
asked this question in
Q&A
Replies: 1 comment
-
|
On Deno 1.44 (arrived in 2024) supports this feature: https://deno.com/blog/v1.44 (I leave the link here in case sb passing by and need an answer) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks to the amazing work by the team, we can now seamlessly import modules npm with the
npm:specifier.I was trying to import some libraries directly from github but it errors out with
error: Uncaught ReferenceError: require is not defined.Is there is an easy way to import directly from github packages with commonjs imports?
Really grateful to the team for all the amazing work!
Beta Was this translation helpful? Give feedback.
All reactions