Is it possible to integrate C library with meteor ? If yes. How?


I am completely new to meteor- angular framework,
Currently I am planning to develop a Web UI using Meteor and Angular, our idea is to fetch the data using C API and display it in web browser.

So is it possible to call C API in Meteor?? How this can be done?

Any suggestions?

Thanks in advance :slight_smile:

This is not a MeteorJS specific answer. It applies to any Node.js app (so Meteor included). Have a look at node-ffi

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.

1 Like

Thanks,as far as I searched, for node.js many frameworks are available like SWIG, node-ffi, node addonsโ€ฆ to link C library
Many suggested node-ffi will be good.
Meteor uses node.js, so will node-ffi be compatible with meteor framework?