israeli-bank-validation
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i israeli-bank-validation

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

17.9 kB

Total Files

9

Last publish

Collaborators

  • emayer