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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user