@inntechcorp/it-design 2.0.221 → 2.0.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/format/ToKebabCase.d.ts +13 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +13 -0
- package/dist/index.esm.js +27 -27
- package/package.json +1 -1
|
@@ -11,4 +11,17 @@
|
|
|
11
11
|
* add any meaning to the query.
|
|
12
12
|
*
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* ### toKebabCase
|
|
17
|
+
*
|
|
18
|
+
* First, removes special characters from the provided string value and converts it to lowercase.
|
|
19
|
+
*
|
|
20
|
+
* @param value The input string.
|
|
21
|
+
* @param removeStopWords Removes stop words if true.
|
|
22
|
+
* @param removeNumbers Removes numbers if true.
|
|
23
|
+
*
|
|
24
|
+
* @returns If `toKebabCase("bu 123 bir örnek 456 cümle", true, true)` is provided, it will return `"ornek-cumle"`.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
14
27
|
export default function toKebabCase(value: string, removeStopWords?: boolean, removeNumbers?: boolean): string;
|