Can anyone can give me a very small framework example of how to impliment a c++ module in node.js?
The repository at https://github.com/kkaefer/node-cpp-modules contains many small examples with lots of comments that show you how to create a module. In addition, there's a presentation (use left/right arrow keys) that goes into detail about C++ modules.