face08 / extra-examples-for-node-addon-api

More example for node-addon-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More examples for node-addon-api

The official example does not contain a lot of situation, so this repository was founded.

  • 1_js2cppobject_argument A javascript object was passed as cpp function. There has 2d array in object. And a object was passed to js context.
  • 2_js2cpp2darray_argument A two-dimensional array was passed as cpp function. You can pass multidimensional array as you want references to this example.

More examples to be continue.

About

More example for node-addon-api

License:MIT License


Languages

Language:C++ 72.7%Language:JavaScript 16.4%Language:Python 11.0%