Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dotnet-run

mortend114MIT2.0.0TypeScript support: included

Run .NET programs easily on all platforms

cross-platform, dotnet, helper

readme

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.