What does the NPM package install if you're already on Deno? #28368
Unanswered
matthew-dean
asked this question in
Q&A
Replies: 1 comment
-
The way you phrases parts of your question is a little confusing to me, I might be able to answer better if you provide some context on what you're trying to build. It sounds like you may be trying to interface with Deno in some way through a Node program? I believe the npm package is just an alternative installer for the Deno binary, not a library meant to be consumed by a Node program. |
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
-
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