python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Constructing native object from NodeJS Addon
Expectation
I want to to implement using a native NodeJS module that works like the javascript module below
class C1{
make(){return new C2()}
}
class C2{}
module.exports({C1, C2})
Approach
My attem...
Bob
Votes: 0
Answers: 1
Can nw addon be built with _HAS_ITERATOR_DEBUGGING=1 for debug mode? (Windows)
Original questin: Is there any way to get what macros nw-gyp add to the build project by default?
I'm developing a nw addon and I've tried to link a custom static lib to .node DLL. However I found nw-...

Jian Wang
Votes: 0
Answers: 1
Use stdlib and rand with Node native module (node-gyp)
This is just an example of the problem.
Let's say I have utils.cc
#include "../headers/utils/utils.h"
double sum()
{
double result = 1 + 1;
return result;
}
double multisum(int n)
...
EuberDeveloper
Votes: 0
Answers: 1
NodeJS module compilation
I have a node add on module using node-addon-api interface.
{
"targets": [
{
"target_name": "mod",
"sources": [
"./src/index.cpp&...
Bob
Votes: 0
Answers: 2