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:
2025-03-17 22:59:31 +01:00
parent dc16ec96be
commit 3e8ec44ae4
12 changed files with 712 additions and 11 deletions

View File

@@ -0,0 +1,3 @@
/*.t-monospace {
font-family: monospace;
}*/

View File

@@ -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));

View File

@@ -1,3 +0,0 @@
textarea {
resize: vertical;
}

View File

@@ -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.
*/