How can I use a C++ library from node.js?

binding, c++, javascript, node.js

Solution

Look at node-ffi.

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.

Problem

How can I use a C++ library from node.js?

Original source

Related problems