1.0.5 • Published 3 years ago

israeli-bank-validation v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

Israeli Bank Validation

A Javascript library to validate Israeli bank accounts

Installation

npm i israeli-bank-validation

importing

const { validateBankAccount, RESULT } = require("israeli-bank-validation");

Validate Bank Account Details

To validate bank account details use the following function

console.log(validateBankAccount("12", "571", "041116") === RESULT.VALID);

The function takes the following parameters: | Parameter | Description |Type| | ------------- | ------------- | ------------- | | bankId | The bank id|String| | branch | The branch id|String| | account | The account number |String|

There the function can return one of the following results: | Result | Description | | ------------- | ------------- | | VALID | A valid bank account | | NOT_VALID | Not valid bank account | |UNKNOWN|The function was not able to validate the account|

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago