@viict/node-nitgen-enbsp

1.1.0 • Public • Published

NITGEN ENBSP Module for Nodejs

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

Usage: as dependency

yarn add @viict/node-nitgen-enbsp

Simple code

const enbsp = require('@viict/node-nitgen-enbsp');
const init = enbsp.init();

if(init == true){
	console.log("Insert the first fingerprint: ");
	const fir1 = enbsp.capture(4000);

	console.log("Insert the second fingerprint: ");
	const fir2 = enbsp.capture(4000);
}

console.log(`Match: `, enbsp.match(fir1, fir2));
enbsp.close()

Usage: cloning repo

git clone https://github.com/viict/node-nitgen-enbsp.git
cd node-nitgen-enbsp
yarn
yarn test

Simple code

const enbsp = require('./index.js');
const init = enbsp.init();

if(init == true){
	console.log("Insert the first fingerprint: ");
	const fir1 = enbsp.capture(4000);

	console.log("Insert the second fingerprint: ");
	const fir2 = enbsp.capture(4000);
}

console.log(`Match: `, enbsp.match(fir1, fir2));
enbsp.close()

Any problem? Open a new issue

Package Sidebar

Install

npm i @viict/node-nitgen-enbsp

Weekly Downloads

1

Version

1.1.0

License

GPL

Unpacked Size

6.69 MB

Total Files

26

Last publish

Collaborators

  • viict