Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node-addon-api
/ CreateAddon
Function
CreateAddon
test/addon.cc:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
};
33
34
Napi::Value CreateAddon(const Napi::CallbackInfo& info) {
35
return TestAddon::Init(info.Env(), Napi::Object::New(info.Env()));
36
}
37
38
} // end of anonymous namespace
39
Callers
nothing calls this directly
Calls
2
Env
Method · 0.80
Init
Function · 0.70
Tested by
no test coverage detected