"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatter = void 0;
const DIGITS = 3; // number of version displayed
const formatter = (version) => {
    let willSetNumber = DIGITS;
    if (typeof version === 'number') {
        willSetNumber = DIGITS - version.toString().length + 1;
    }
    if (typeof version === 'string') {
        willSetNumber = DIGITS - version.length + 1;
    }
    return Array(willSetNumber).join('0') + version.toString();
};
exports.formatter = formatter;
exports.default = { formatter: exports.formatter };
