JSPM

@dylburger/bicfromiban

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 5
    • Score
      100M100P100Q41291F

    Validates IBANs and generates BICs from IBANs

    Package Exports

    • @dylburger/bicfromiban
    • @dylburger/bicfromiban/index.js

    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 (@dylburger/bicfromiban) 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