Open konsumer opened 2 years ago
As mentioned in #160 we should use C99.
Use the C N-API calls, rather than the C++ napi lib. napi adds allocations and wrappers to work with C++. Unless you are using classes, the overhead is not worth it. And, you will probably end up with a smaller .node file.
As mentioned in #160 we should use C99.