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

Function Init

test/binding-swallowexcept.cc:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5Object InitError(Env env);
6
7Object Init(Env env, Object exports) {
8 exports.Set("error", InitError(env));
9 return exports;
10}
11
12NODE_API_MODULE(addon, Init)

Callers

nothing calls this directly

Calls 2

InitErrorFunction · 0.85
SetMethod · 0.80

Tested by

no test coverage detected