Tutorial by Examples

This module register hello function on hello module. hello function prints Hello world on console with printf and return 1373 from native function into javascript caller. #include <node_api.h> #include <stdio.h> napi_value say_hello(napi_env env, napi_callback_info info) { n...

Page 1 of 1