-
You can do this by sending socket connections, or use a library like https://grpc.io/.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Did a little digging, napi is header file in an npm package that's supposed to help you build C++ addons, node_api is node's actual API. https://github.com/nodejs/node-addon-api you might have already been using this. The examples have enough code that it shouldn't be too bad to get started
-
Yeah, that's the only place I found a napi.h file, so I think tutorials using that are assuming the node-addon-api? Anyways checking out examples like this, https://github.com/nodejs/node-addon-examples/blob/7ca7b6d03c1acb72fe292b4be468009534a20ff3/2_function_arguments/node-addon-api/addon.cc, it actually looks pretty easy to use to call C++ functions in node