UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

7 lines (6 loc) 229 B
/** * @license * Copyright 2024 Kai-Orion & Sandlada * SPDX-License-Identifier: MIT */ function e(e){return e.split("").map((e,o)=>e.toUpperCase()===e?`${0!==o?"-":""}${e.toLowerCase()}`:e).join("")}export{e as toKebabCase};