UNPKG

ibantools-germany

Version:

IBAN Validator and Generator for German Bank Accounts

28 lines (25 loc) 1.7 kB
"use strict"; /*! * ibantools-germany * Copyright (C) 2022-2024 Markus Baumer <markus@baumer.dev> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.isValidIBAN = exports.isValidBBAN = exports.isValidAccountNumberBLZ = exports.generateIBAN = exports.generateBBAN = void 0; const generate_1 = require("./lib/generate"); Object.defineProperty(exports, "generateBBAN", { enumerable: true, get: function () { return generate_1.generateBBAN; } }); Object.defineProperty(exports, "generateIBAN", { enumerable: true, get: function () { return generate_1.generateIBAN; } }); const validate_1 = require("./lib/validate"); Object.defineProperty(exports, "isValidAccountNumberBLZ", { enumerable: true, get: function () { return validate_1.isValidAccountNumberBLZ; } }); Object.defineProperty(exports, "isValidBBAN", { enumerable: true, get: function () { return validate_1.isValidBBAN; } }); Object.defineProperty(exports, "isValidIBAN", { enumerable: true, get: function () { return validate_1.isValidIBAN; } });