dotnet-run

    1.3.1 • Public • Published

    dotnet-run

    AppVeyor build status Travis CI build status NPM package NPM downloads License: MIT Supported platforms

    Run Mono and .NET programs easily on all platforms.

    Install

    $ npm install dotnet-run
    

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

    macOS

    install mono downloads

    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

    install mono

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

    Windows

    install install

    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.

    Install

    npm i dotnet-run

    DownloadsWeekly Downloads

    39

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • mortend