banker-js

A set of handy methods for credit card numbers and IBAN

Usage no npm install needed!

<script type="module">
  import bankerJs from 'https://cdn.skypack.dev/banker-js';
</script>

README

Bankerjs

A set of handy methods for formatting, validating and handling Iran's credit card numbers and IBAN numbers.

Methods

isShebaValid

isShebaValid("IR062960000000100324200001") //return true

getNameBySheba

returns bank name based on given IBAN.

getNameByCardNumber

returns bank name based in given credit card number

CREDITS