We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eba1f7b commit 1c62e80Copy full SHA for 1c62e80
doc/api/addons.markdown
@@ -51,6 +51,9 @@ Note that all Node addons must export an initialization function:
51
52
There is no semi-colon after `NODE_MODULE` as it's not a function (see `node.h`).
53
54
+The `module_name` needs to match the filename of the final binary (minus the
55
+.node suffix).
56
+
57
The source code needs to be built into `hello.node`, the binary Addon. To
58
do this we create a file called `wscript` which is python code and looks
59
like this:
0 commit comments