Can Pas2JS compile an FPC/Delphi library so that its functions can be called by a JavaScript or Node app?
All the examples seem to use rtl.run() to execute a full application. But what I'd like to do is import the Pas2JS compiled libraries into a Node app (Electron or React Native) and call the functions in them directly.
Any info would be appreciated!