#include <node/v8.h> #include <node/node.h> void RegisterModule(v8::Handle<v8::Object> target) { // Add properties to target } // Register the module with node. NODE_MODULE(modulename, RegisterModule); The bare minimum #!/usr/bin/env python def set_options(ctx): ctx.tool_options('compiler_cxx') def configure(ctx): ctx.check_tool('compiler_cxx') ctx.check_tool('node_addon') def build(ctx): t = ctx.