Digital fingerprint reader module for NodeJS using a Nitgen device.
Currently tested on Windows with NodeJS 16 (x86), Python 3.10 (x86) and VS 2019 (x64/x86)
Based on the awesome work from Paulo Roberto
yarn add @viict/node-nitgen-enbsp
const enbsp = require('@viict/node-nitgen-enbsp');
const init = enbsp.init();
let fir1, fir2;
if(init === enbsp.NBioAPIERROR_NONE){
console.log("Insert the first fingerprint: ");
fir1 = enbsp.capture(4000);
console.log("Insert the second fingerprint: ");
fir2 = enbsp.capture(4000);
}
console.log(`Match: `, enbsp.match(fir1, fir2) === true);
enbsp.close()
git clone https://github.com/viict/node-nitgen-enbsp.git
cd node-nitgen-enbsp
yarn
yarn test
const enbsp = require('./index.js');
const init = enbsp.init();
let fir1, fir2;
if(init == enbsp.NBioAPIERROR_NONE){
console.log("Insert the first fingerprint: ");
fir1 = enbsp.capture(4000);
console.log("Insert the second fingerprint: ");
fir2 = enbsp.capture(4000);
}
console.log(`Match: `, enbsp.match(fir1, fir2) === true);
enbsp.close()
Check the test.js for more examples