@metakermit/bic-from-iban
v1.0.2
Published
Generate BIC(SWIFT) from IBAN bank account number
Downloads
91
Readme
Bic(SWIFT) from Iban
Generate BIC(SWIFT) from IBAN bank account number
Validating an IBAN
var BICFromIBAN = require ("BICFromIBAN");
// Return true if the IBAN is a correct banck account
var isValid = BICFromIBAN.validateIBAN("DZ4000400174401001050486");
Get a BIC(SWIFT) bank code from IBAN account number
var BICFromIBAN = require ("BICFromIBAN");
// Return a String with a Bic code
var BIC = BICFromIBAN.getBIC("DZ4000400174401001050486");
The bank information is https://github.com/PeterNotenboom/SwiftCodes