iban-validator-js
v1.0.1
Published
An IBAN Validator, converting the IBAN into an integer and performing a mod-97 operation.
Downloads
782
Readme
IBAN Validator
IBAN Validator, follows the algorithm described at Validating the IBAN. Only checks if the passed IBAN is valid.
Install
Install using npm:
npm install iban-validator-js
Basic Usage
const IBANValidator = require('iban-validator-js');
IBANValidator.isValid(''); // false
IBANValidator.isValid('not-a-valid-IBAN'); // false
IBANValidator.isValid('TR320010009999901234567890'); // true
IBANValidator.isValid('BE68539007547034'); // true