melon-runtime

.NET JavaScript runtime


Keywords
runtime, javascript, typescript, data, dotnet, docker, mit, windows, macos, linux, melon
License
MIT
Install
npm install melon-runtime@2.9.0

Documentation


npm version npm downloads


Melon is a declarative modern .NET JavaScript runtime.



Portable, fast and powerful applications with all the features offered by the .NET environment via functions or interop.

const { getStaticMethod } = Melon.dotnet;
const writeLine = getStaticMethod<void>("System:Console:WriteLine");

writeLine("Hello World!");

Hands-on development

Create a complete application in few lines with zero dependencies.

const { http } = Melon;
const app = http.app();

app.get("/", async () => "Hello world");
app.run();

//App running in http://localhost:80