Gary K
Gary K6mo ago

Running npm modules via deno eval, prettier vs jsvu

What is the correct way to run npm:jsvu via deno eval? fwiw, the npm prettier way is: deno eval 'import("npm:prettier/internal/cli.mjs").then(cli => cli.run(Deno.args));' -- <prettier parameters>
2 Replies
marvinh.
marvinh.6mo ago
Probably:
deno eval --unstable-unsafe-proto 'await import("npm:jsvu")'
deno eval --unstable-unsafe-proto 'await import("npm:jsvu")'
Gary K
Gary KOP6mo ago
Thanks! That seems to work for me!

Did you find this page helpful?