index
/
github.com
/
nodejs
/
node-addon-examples
/
src
/
1-getting-started
/
5_function_factory
/
node-addon-api
/
addon.js
@
260528.1
⧉
⤴
current
<(git log)
flat
scopes
tree
raw
const
addon
=
require
(
'bindings'
)(
'addon'
);
const
fn
=
addon
();
console
.
log
(
fn
());
// 'hello world'