2

I'm trying to build a javascript app and i need to use a c++ library. Is there any way to include a c++ library in a javascript application?

2 Answers2

4

Yes. You can utilize emscripten to convert C++ to JavaScript. You can alternatively

guest271314
  • 1
  • 15
  • 104
  • 177
0

If you are working with Node.js and you library is provided as DLL, you could use node-ffi (Foreign Function Intergface). For other options check this post.

soogui
  • 92
  • 1
  • 10