Talking to C++ library with Node.js

I have a node.js Express web application and I need to talk to this optimization library named CBC from COIN-OR:

https://projects.coin-or.org/Cbc

what is the best way to talk to this library using node.js? could I create a node.js wrapper around the C++ library or...?

If you care about performance, then writing an addon (and/or possibly using nan to let the addon work across major node.js/io.js versions) that wraps the library is the best solution.

If taking a considerable performance hit is not a concern, you could use ffi to call "directly" to the library from javascript.