public
/
node_zettair.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Improved add-on, now links to libzet.so and can open the specified index file
[node_zettair.git]
/
test.js
1
#!/usr/bin/env node
2
3
const zet = require('./build/Release/zet');
4
5
const obj = new zet.Index();
6
console.log(obj.plusOne());
7
// Prints: 11
8
console.log(obj.plusOne());
9
// Prints: 12
10
console.log(obj.plusOne());
11
// Prints: 13