Finished IBAN generator mockup and base page, Updated UUID generator to use shared strings
Update commons.yml, countries.yml, and 10 more files...
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/*.t-monospace {
|
||||
font-family: monospace;
|
||||
}*/
|
||||
|
@@ -2,9 +2,19 @@
|
||||
// Author: Herwin Bozet (@NibblePoker)
|
||||
// License: Public Domain (This code)
|
||||
|
||||
import {isValidIban, parseStandardIban, IbanSpecification, countriesSpecs, getIbanChecksumFromParts} from "../../libs/iban.mjs";
|
||||
import {
|
||||
parseStandardIban,
|
||||
IbanSpecification,
|
||||
countriesSpecs,
|
||||
getIbanChecksumFromParts,
|
||||
StandardIban
|
||||
} from "../../libs/iban.mjs";
|
||||
|
||||
//console.log(getIbanChecksumFromParts("CH", "002300A1023502601"));
|
||||
|
||||
console.log(parseStandardIban("LU220108783391941421"));
|
||||
//Iban.fromIban("BEjhkjkldfjslkfjsd");
|
||||
|
||||
console.log(new StandardIban("LU", "0108783391941421", countriesSpecs.LU).toString());
|
||||
console.log(new StandardIban("LU", "123456ABCDEFGHIL", countriesSpecs.LU).toString());
|
||||
|
||||
console.log(Object.keys(countriesSpecs));
|
||||
|
@@ -1,3 +0,0 @@
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
@@ -4,7 +4,6 @@
|
||||
// Sources:
|
||||
// * https://www.swift.com/standards/data-standards/iban-international-bank-account-number (Updated December 2024)
|
||||
|
||||
|
||||
/**
|
||||
* Parent class extended by all IBAN-related errors.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user