UNPKG

cnp-decoder

Version:

A function that decodes a romanian CNP and returns a object containing informations about the person it belongs to

12 lines (11 loc) 894 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateCNP = exports.getBirthYear = exports.getBirthMonth = exports.getBirthDay = void 0; const getBirthDay_1 = require("./getBirthDay"); Object.defineProperty(exports, "getBirthDay", { enumerable: true, get: function () { return getBirthDay_1.getBirthDay; } }); const getBirthMonth_1 = require("./getBirthMonth"); Object.defineProperty(exports, "getBirthMonth", { enumerable: true, get: function () { return getBirthMonth_1.getBirthMonth; } }); const getBirthYear_1 = require("./getBirthYear"); Object.defineProperty(exports, "getBirthYear", { enumerable: true, get: function () { return getBirthYear_1.getBirthYear; } }); const validateCNP_1 = require("./validateCNP"); Object.defineProperty(exports, "validateCNP", { enumerable: true, get: function () { return validateCNP_1.validateCNP; } });