Gary K
Gary K2mo 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.2mo ago
Probably:
deno eval --unstable-unsafe-proto 'await import("npm:jsvu")'
deno eval --unstable-unsafe-proto 'await import("npm:jsvu")'
Gary K
Gary KOP2mo ago
Thanks! That seems to work for me!

Did you find this page helpful?