edgetron
v10.1.1
Published
Edge.js: run .NET and Node.js in-process on Electron v10.1.1
Downloads
2
Readme
.NET and Node.js in-process on Electron
This is a fork of edge-js adapted to support Electron
Compatible with
- Electron 9.x - Node.js v12.14.1
- Electron 10.x - Node.js v12.16.3
Usage is the same as edge or edge-js, replace require('edge')
or require('edge-js')
with require('edgetron')
:
npm install edgetron
+var edge = require('edgetron');
var helloWorld = edge.func(function () {/*
async (input) => {
return ".NET Welcomes " + input.ToString();
}
*/});
- Requirements Windows
You must install Microsoft Visual C++ Redistributable (x86)
- Why use
edgetron
Electron is built using specific version of Node.js. In order to use edge
in Electron project you would need to recompile it using the same Node.js version and Electron headers.
edgetron-js
comes precompiled with correct Node.js versions and headers.
Differences from
electron-edge
Uses same codebase as
edge-js
that comes with both latest code changes fromedge
project and additional fixes and improvements available inedge-js
project.Supports majority of Electron versions.