Version: 1.0.01.1.01.2.01.3.01.4.01.4.11.5.01.6.01.7.01.8.01.8.11.8.22.0.02.1.02.1.12.2.02.2.12.2.2
#include <node_api.h>
#include <napi-macros.h>
NAPI_METHOD(times_two) {
NAPI_ARGV(1)
NAPI_ARGV_INT32(number, 0)
number *= 2;
NAPI_RETURN_INT32(number)
}
NAPI_INIT() {
NAPI_EXPORT_FUNCTION(times_two)