Using Nan in addon.cc to invoke OpenSSL layer methods for decryption/signing/verification from NodeJS. When trying to hit the methods again and again ...
Using Nan in addon.cc to invoke OpenSSL layer methods for decryption/signing/verification from NodeJS. When trying to hit the methods again and again ...
Having a simple C++ class that uses fstream to write/read binary files Controller.h: The code above compiled with gcc works as expected. The Insert ...
I am facing an issue where node application crashes when OS sends SIGPIPE. I am using N-API C++ addon for sending/receiving message to socket using Fu ...
I'm currently trying to use the following package in my electron Application: https://github.com/SnosMe/uiohook-napi But whatever I do I always get ...
I'm working with two different libraries (specifically napi-rs and callback-future) and want to invoke a FnOnce function from one library in a Fn func ...
I'm developing a Node-API module together with an Electron application. The N-API module is running in the render process of Electron, since it has a ...
I am trying to communicate this native addon with the front-end. It consists of a prime number generator, when it is executed it writes to the console ...
I wrote a nodejs addon, compiled with node-gyp. It won't work on electron, but nodejs worked. The nodejs and electron node has the same version. The ...
I was wondering if it was possible to use the N-API to give a workerthread access to an object that a different workerthread has created. Although I d ...
I'm trying to call a nodejs async function from c++ that returns a promise that will be fufilled later using napi I want to wait until the promise ...
When trying to build a simple node addon with boost,the compiler fails with this error I have setup the project using the Yeoman Generator: https:/ ...
I am trying to call CPP function from NodeJS I have tried nbind library in NodeJS. but getting unbound type error. I have also tried ffi-napi np ...
I recently completed making an asynchronous version for all the functions in a pure C API, wrapped with N-API to work with JS/TS as a nodejs addon. T ...
I am trying to implement event listeners. Node js will subscribe to the events (using C++ function). When the event occurs, C++ should inform node js. ...
I'm working on a N-API addon to capture video frame using windows graphic capture API , extract frame bytes and send it back to JavaScript. I have tri ...
This My first node.js and n_api. I have been using PHP/APACHI. But I need the c++ library for my web And I decided to using n_api. The problem is that ...
I am trying to read a file in the NAPI application and call the callback function to write it to the writestream in the nodejs application. exmaple_C ...
I'm trying to run Node C++ Addon example from https://github.com/nodejs/node-addon-examples/tree/master/1_hello_world/node-addon-api With commands: ...
My main problem is to call the asynchronous function from Node.js in addon and get the returned value. I am trying to resolve the promise returned fro ...
I'm experiencing problems with native modules dependencies (specifically IBM MQ for js) inside a Google Cloud Function (Node v10) and didn't found any ...