Example 1: Hello world To get started let's make a small addon which is the C++ equivalent of the following JavaScript code: module.exports.hello = function() { return 'world'; };