JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4567
  • Score
    100M100P100Q138685F
  • License MIT

Determines the SWIFT BIC of an IBAN.

Package Exports

  • iban-to-bic

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 (iban-to-bic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

iban-to-bic

GitHub license npm Build Status

Determines the SWIFT BIC of an IBAN. Currently supports IBANs from Austria and Germany.

Usage

const { ibanToBic } = require('iban-to-bic');

const bic = ibanToBic('DE51500105179975341634');
// bic is now "INGDDEFFXXX"

ibanToBic returns undefined if the IBAN is invalid (checked internally using ibantools) or if no corresponding BIC was found.

Updating the dataset

The following will fetch the newest data from the respective national bank authorities (e.g. Bundesbank in Germany or OeNB in Austria) and regenerate the files in the datasets and the datasets-extended directory:

npm run generate

License

MIT