https://github.com/mortend/dotnet-run
Run .NET programs easily on all platforms
https://github.com/mortend/dotnet-run
cross-platform dotnet helper
Last synced: 6 months ago
JSON representation
Run .NET programs easily on all platforms
- Host: GitHub
- URL: https://github.com/mortend/dotnet-run
- Owner: mortend
- License: mit
- Created: 2019-07-25T19:44:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T13:31:36.000Z (almost 3 years ago)
- Last Synced: 2025-06-04T12:47:31.171Z (7 months ago)
- Topics: cross-platform, dotnet, helper
- Language: JavaScript
- Homepage: https://npmjs.com/package/dotnet-run
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-run
[](https://ci.appveyor.com/project/mortend/dotnet-run/branch/master)
[](https://www.npmjs.com/package/dotnet-run)
[](https://www.npmjs.com/package/dotnet-run)
[](LICENSE)

> Run .NET programs easily on all platforms
## Install
```sh
npm install dotnet-run
```
## Usage
### JavaScript
```js
const run = require("dotnet-run")
await run("hello.dll", ["javascript", "typescript"])
// => Hello, javascript and typescript!
```
```js
const { getDotNetPath, installDotNet } = require("dotnet-run")
const dotnet = getDotNetPath()
if (!dotnet) {
await installDotNet()
}
```
## Contributing
Please [report an issue](https://github.com/mortend/dotnet-run/issues) if you encounter a problem, or [open a pull request](https://github.com/mortend/dotnet-run/pulls) if you make a patch.