/iran-sheba

Validate and Recognize IBAN in Iran

Primary LanguageJavaScriptMIT LicenseMIT

iran-sheba

A javascript library to validate and recognize IBAN (International Bank Account Number, Sheba)

IBAN (Sheba) validation and Recognition in javascript.

To use iran sheba you just need to:

npm install iran-sheba --save

Usage

How to use it:

var Sheba = require('iran-sheba');

console.log(Sheba.isValid('IR012345678901234567890123'));

console.log(Sheba.recognize('IR012345678901234567890123'));

To Do:

  • extract account number
  • add following banks: sina

Suggestions?

Drop an email to r.ghorbani.f@gmail.com

Open issues

Submit PRs.