An node extension example with napi for promise
This is a simple example for node native extension with napi. It asynchronously multiplies two numbers and outputs the result.
This is to give everybody a starting point to work on because I could not find a complete example for promise implementation with napi.
It has been tested on my Win7 local machine.
- node v8.9.3
npm install
node test/test.js