how do i do it? so, i've successfully written a module in javascript and published using npm, pretty straight forward. i've also successfully written a module in c++, and in my node app i can 'require' and use this module like so:
var cmath = require( __dirname + "/build/test_math.node");
my question is, how do i go about publishing this module, so that someone else can install it (successfully)?
i know it has -something- to do with a wscript, possibly install commands? i'm kind of a noob, i suppose. thanks.
var cmath = require( __dirname + "/build/test_math.node");
my question is, how do i go about publishing this module, so that someone else can install it (successfully)?
i know it has -something- to do with a wscript, possibly install commands? i'm kind of a noob, i suppose. thanks.