easylink-js
JavaScript library for communicating with Fingerspot EasyLink SDK.
Installation
Install it with your preferred package manager:
npm i easylink-js
yarn add easylink-js
Usage
Initialize the class:
const easyLink = host: 'http://localhost:7005' serialNumber: '123456789';
Methods
Get Device Info:
const deviceInfo = await easyLink;
Init Device:
await easyLink;
Sync Date/Time:
await easyLink;
Delete Device Logs:
await easyLink;
Get All Users:
await easyLink;
Upload a User:
const payload = pin: '123456' nama: 'Adhyaksa Jaya' pwd: 0 rfid: 0 priv: 0 tmp: idx: '0' alg_ver:39 template: '1E:14:0B:17:13:12 ...' ; await easyLink;
Delete All Users:
await easyLink;
Delete a User:
const pin = '123456';await easyLink;
Get All Scan Logs:
await easyLink;
Get New Scan Logs:
await easyLink;
Delete All Scan Logs:
await easyLink;