Interesting! I knew F#, C#, and Elixir supported this scenario, but good to know Deno has this as well :)
Do F# and C# really support it? How do you specify dependencies from within the script?
Yeah! F# has native support[1] and C# can do it with a third-party tool[2]. For both, the syntax for referencing a third-party NuGet package inside the script is e.g.:
#r "nuget: Newtonsoft.Json"
[1]: https://learn.microsoft.com/en-us/dotnet/fsharp/tools/fsharp...
[2]: https://github.com/dotnet-script/dotnet-script