"use strict";
/**
 * Converts string to kebab-case.
 * Drop-in replacement for lodash/kebabCase.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = kebabCase;
const tslib_1 = require("tslib");
const words_1 = tslib_1.__importDefault(require("./words"));
function kebabCase(string) {
    return (0, words_1.default)(string).map((w) => w.toLowerCase()).join('-');
}
