Package Exports
- dotnet-run
- dotnet-run/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dotnet-run) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.