"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.KebabCase = void 0;
var KebabCase = (function () {
    function KebabCase() {
    }
    KebabCase.fromCamelCase = function (str) {
        return str.replace(/([^A-Z])([A-Z])/g, '$1-$2').toLocaleLowerCase();
    };
    KebabCase.fromSnakeCase = function (str) {
        return str.replace('_', '-');
    };
    return KebabCase;
}());
exports.KebabCase = KebabCase;

//# sourceMappingURL=kebab-case.js.map
