npm.io
2.0.0 • Published 3 years ago

dotnet-run

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

AppVeyor build status NPM package NPM downloads License: MIT Supported platforms

Run .NET programs easily on all platforms

Install

npm install dotnet-run

Usage

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.

Keywords