Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dbc-node-borchk

inleadmedia10GPL-3.02.0.2

Client for DBC webservice BorrCheck

dbc, borchk

readme

dbc-node-borchk

David David

Node borrow check wrapper module for the DBC webservice https://borchk.addi.dk/.

BORCHK is a web service used by systems and interfaces for lookup in library borrower records, to verify whether a user is enrolled, and whether he is a citizen of the municipality.

Borchk.getBorrowerCheckResult(values):Promise

Method for creating a borrow check request for a specific user.

This method returns a borrow check result from the webservice containing simple response which can be "ok" or "borrower_not_found".

Example:

params = {
  userId: '',
  userPincode: ''
};

Borchk.getBorrowerCheckResult(params);