MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / InitRunScript

Function InitRunScript

test/run_script.cc:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45} // end anonymous namespace
46
47Object InitRunScript(Env env) {
48 Object exports = Object::New(env);
49
50 exports["plainString"] = Function::New(env, RunPlainString);
51 exports["stdString"] = Function::New(env, RunStdString);
52 exports["jsString"] = Function::New(env, RunJsString);
53 exports["withContext"] = Function::New(env, RunWithContext);
54
55 return exports;
56}

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected