i'm relatively new node.js , have question compiling node.js additional native module. there way integrate addon node.js ready use after compile?
node.js source code here. built-in libraries located in deps/
there tutorial compiling c++ addon module of node.js. after compilation of module file "myaddon.node" generated can used require in node.js application.
is there way make module built-in? mean can compile node.js source code , deploy target machine. can call
var myaddon = require("myaddon"); without having run npm install. there natives modules such zlib, http, fs integrated node.js.
i found 1 article native module built node.js on windows using visual studio. there similar way build node.js own module on linux?
Comments
Post a Comment