Recent

Author Topic: Compiling libraries w/ PAS2JS for use in JS apps  (Read 147 times)

MG

  • New Member
  • *
  • Posts: 11
Compiling libraries w/ PAS2JS for use in JS apps
« on: October 22, 2020, 08:48:45 pm »
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!

 

TinyPortal © 2005-2018