Calling C# Class Library From Plugin

I would like to create plugin which will call .NET C# DLL for performing different kind of CPU-bound computations.

I’ve tried using edge-js \ electron-edge-js, however it seems to be requiring whole app being built with it, I am getting an error similar as here, trying to enable plugin (which is based on sample).

Can anybody propose a feasible way of doing it?