JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q76226F
  • License MIT

Run Mono and .NET programs, easily.

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

AppVeyor build status Travis CI build status NPM package License: MIT

Run Mono and .NET programs, easily.

Install

npm install dotnet-run

This will detect Mono/.NET or automatically download a suitable version for your system.

macOS

installation mono default

When we can find Mono v5.4.1.7 or greater on your system, we'll use your existing installation. By default we'll download v6.0.0.311 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 installation you may or may not have from before.

Linux

installation mono

Linux users must currently provide their own Mono installation before consuming this package. More information can be found on this page.

Windows

installation

Windows users don't need to download anything because .NET is pre-installed on this system.

Usage

const run = require('dotnet-run');

run('bang.exe', ['pong', 'pang'], process.exit);

or, in 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.