Licence
MIT
Version
2.0.0
Deps
2
Size
8 kB
Vulns
0
Weekly
53
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
dotnet-run
Run .NET programs easily on all platforms
Install
npm install dotnet-runUsage
JavaScript
const run = require("dotnet-run")
await run("hello.dll", ["javascript", "typescript"])
// => Hello, javascript and typescript!const { getDotNetPath, installDotNet } = require("dotnet-run")
const dotnet = getDotNetPath()
if (!dotnet) {
await installDotNet()
}Contributing
Please report an issue if you encounter a problem, or open a pull request if you make a patch.