Apparently a situation has evolved over the years where there are three, four, or five main ways to write a nodeJS addon in C/C++ depending on where y ...
Apparently a situation has evolved over the years where there are three, four, or five main ways to write a nodeJS addon in C/C++ depending on where y ...
I'm interested in making my first native C/C++ addon for nodeJS. Conceptually it's a filesystem method that acts on a path or a file descriptor and i ...
I have a simple N-API wrapper around a C++ class. The class is getting instantiated and deconstructed, but the instance variable in the class is not b ...
Trying to find out if it's possible to run firebase cloud functions with native code (using N-API). I have a simple "hello world" example which works ...
Hello everyone, Coming from the web dev world. I am currently trying to do some C code which is converting an RGB value to an XYZ value that can be u ...
I'm writing an addon for Node.js using N-API (the C interface, not to be confused with the node-addon-api C++ wrapper around N-API) which receives JSO ...
I'm new to Node.js N-API. Let me go straight to the question. I'm trying to call a C function Camellia_Ekeygen with N-API, but the output of the func ...
I am having a problem using c++ n-api api and I have reviewed the documentation here, and I do not see a way to iterate the keys of a Napi::Object. I ...
when i try to test nodejs N-API modules, the has a error to me: my addon.c file is that: my binding.gyp file is: and when i use require('./buil ...
So lately I've been getting into OpenCV with C++. I've built up a few libraries and apps that I would like to export over to Nodejs, but I can't figur ...
I am trying to compile and use a N-API Node JS c++ addon. The code compiles fine but at runtime I get the following error: The strange thing is tha ...
js code is: remember function in c++: when native function is called: ...
I'm new to Node.js addons, I don't understand the difference between nan and n-api. And is there an easy way to migrate an addon for old version (nod ...