What does the NPM package install if you're already on Deno? #28368
Unanswered
matthew-dean
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I notice that Deno has an NPM package here. This is great, as I want to use Deno to run safe scripts in Node.js. But my question is, how do I only optionally install Deno using this package in Node.js? I obviously don't want to install Deno if they're running on Deno. Deno's docs say it uses package.json to install packages so I'm not sure how this is intended to be used as a "shim".
Beta Was this translation helpful? Give feedback.
All reactions