1.1.0 • Published 2 years ago
iban-parser v1.1.0
iban-parser
Usage
import IBAN from 'iban';
import { Country } from 'iban/lib/helpers/Country.js';
const ibanObj = new IBAN(Country.SK);
ibanObj.isValid('SK3112000000001987426375');
ibanObj.parse('SK59 1100 0000 0012 3456 7890');
Structure
type indications:
- n - digits (numeric characters 0 to 9 only);
- a - upper-case letters (alphabetic characters A-Z only); or
- c - upper- and lower-case alphanumeric characters (A-Z, a-z and 0-9);
- e - blank space.
length indications:
- nn! - fixed length;
- nn - maximum length