[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/ccare/node-cpphello/master/cpphello.cpp [Back]  [Original]

#include 
#include 

using namespace node;
using namespace v8;

static Handle foo(const Arguments& args)
{
  return String::New("Hello World");
}

extern "C" {
  static void init(Handle target)
  {
    NODE_SET_METHOD(target, "foo", foo);
  }

  NODE_MODULE(cpphello, init);
}

Web Proxy Viewer  |  New URL  |  Original Page