mazey
    Preparing search index...

    Function convertCamelToKebab

    • Convert CamelCase to KebabCase.

      Usage:

      import { convertCamelToKebab } from "mazey";

      const ret1 = convertCamelToKebab("ABC");
      const ret2 = convertCamelToKebab("aBC");
      console.log(ret1);
      console.log(ret2);

      Output:

      a-b-c
      a-b-c
      

      Parameters

      • camelCase: string

        "aBC" or "ABC"

      Returns string

      "a-b-c"