Skip to content

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

Notifications You must be signed in to change notification settings

kul/node-cpphello

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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://github.com/lupomontero/node-cpphello.git
$ cd node-cpphello
$ node-waf configure build
$ node test/cpphello.js

More info here: http://lupomontero.e-noise.com/blog/writing-node-js-modules-in-cpp

A more detailed article on the How To Node website: http://howtonode.org/how-to-module

Other basic examples (using async io):

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.7%
  • JavaScript 32.3%