Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 953 Bytes

The simplest possible "hello world" node.js module written in C++

This is a super simple module written as a C++ binding. It does not show how to handle async io, but at least it illustrates how the code hooks into node and v8. This is just a place to start...

Download, build and test instructions:

$ git clone git://
$ cd node-cpphello
$ node-waf configure build
$ node test/cpphello.js

More info here:

A more detailed article on the How To Node website:

Other basic examples (using async io):