Package Exports
- dotnet-run
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 Mono and .NET programs easily on all platforms.
Install
$ npm install dotnet-runThis will detect Mono/.NET or automatically download a suitable version for your system.
macOS
Unless we can find Mono v6.0.0.311 or greater on your system, we will provide you a minimal Mono installation automatically.
We provide minimal Mono releases for macOS, much smaller than official releases. Our v6.0.0.311 is distributed as a 33.6 MB tarball, which installs faster and is more than ten times smaller than the official pkg installer at 362.2 MB. Our package is unobtrusive to your system and will safely co-exist with any existing Mono install you may or may not have from before.
Linux
Linux users must provide their own Mono install before consuming this package. More information can be found on this page.
Windows
We use the built-in .NET Framework on Windows.
Usage
JavaScript
const run = require('dotnet-run');
run('bang.exe', ['pong', 'pang'], process.exit);Terminal
$ dotnet-run bang.exe pong pang
Hello, pong pang!$ dotnet-run --version
Mono JIT compiler version 6.0.0.311 (2019-02/494641b300c Mon Jul 1 20:30:26 EDT 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(600)
Suspend: hybrid
GC: sgen (concurrent by default)Contributing
Please report an issue if you encounter a problem, or open a pull request if you make a patch.