This is a simple example C/C++ math library binding to Node.JS using addon FFI(foreign feth interface) and web server with express.
If you have an existing library written in C/C++ and you want to use this in a Node.JS application or you want to create an interface binding for javascript, you using node-ffi is a Node.js addon for loading and calling dynamic libraries using pure JavaScript. It can be used to create bindings to native libraries without writing any C++ code.
npm install
npm run build
npm run start