edgetron
TypeScript icon, indicating that this package has built-in type declarations

10.1.1 • Public • Published

.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 from edge project and additional fixes and improvements available in edge-js project.

  • Supports majority of Electron versions.

Readme

Keywords

none

Package Sidebar

Install

npm i edgetron

Weekly Downloads

1

Version

10.1.1

License

MIT

Unpacked Size

118 MB

Total Files

195

Last publish

Collaborators

  • andytsing