JSPM

countries-iban-masks

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

IBAN masks for countries

Package Exports

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

Readme

countries-iban-masks

This package provides IBAN masks for various countries. The iban_masks.json file contains information about each country's IBAN mask, including the country name, ISO code, flag URL, and IBAN mask.

Installation

npm install countries-iban-masks

Usage

const countries = require('countries-iban-masks')

console.log(ibans.find(({ name }) => name === 'Turkey'))
// {
//    "name": "Turkey",
//    "iso": "TR",
//    "flag": "https://cdn.kcak11.com/CountryFlags/countries/tr.svg",
//    "iban_mask": "TR## #### #### #### #### #### ##"
// }

Contributing

If you want to contribute to this project, feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.