python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Do i need to delete pointer which was passed into Napi::ArrayBuffer::New()
I am writing a Node Addon Function That returns a Promise, I have code like this.
size_t outbufsize = 1000;
context->data.size = outbufsize;
context->data.data = new char[outbufsize];
When I fi...
wdw
Votes: 0
Answers: 1
Why is the efficiency worse when I use c++ addon to iterate an array in node.js
I'm a beginner at node.js c++ addon, and I'm trying to implement a c++ addon that does the same thing as Array.prototype.map function.
But after I finished this, I benchmarked my addon and found it'...
legends-killer
Votes: 0
Answers: 1
How to free up a buffer in apache after execution of CGI-script with Nodejs?
I am using Apache CGI-Script with Nodejs to develop dynamic web page content
Here I am using Node addon C++ (sample.node) as CGI-script. That uses node environment with the help of Addhandler and Acti...
Jeyaprakash
Votes: 0
Answers: 1
Node addon crashes in Electron but works fine in vanilla Node
I am building a Node addon on macOS to communicate with Apple's Photos framework, it will query photos from the Photos library and export them to a folder.
The addon works well in vanilla Node (v16.14...
Hao Xi
Votes: 0
Answers: 1