JSPM

bic-from-iban

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1036
  • Score
    100M100P100Q114090F
  • License GPL-3.0

Validates IBANs and generates BICs from IBANs

Package Exports

  • bic-from-iban

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bic-from-iban) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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