I have an executable that generates javascript that I'd like to pipe into deno run, however the run subcommand only seems to take a script path as an argument, and doesn't support the usual convention of - to read from stdin.
Workarounds that I'm aware of but not satisfied with:
- Save script in a temporary file, and feed it into
deno run - Pipe script into
deno repl(this prints a bunch of repl garbage along with the desired script output) - Use
deno eval(my generated javascript is large... feels icky to provide as a command line argument)