@inntechcorp/it-design 2.0.216 → 2.0.218

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/index.d.ts CHANGED
@@ -119,7 +119,33 @@ declare function Base64Encode(input: string): string;
119
119
 
120
120
  declare function Base64Decode(encoded: string): string;
121
121
 
122
- declare function toKebabCase(value: string): string;
122
+ /**
123
+ * What are SEO stop words?
124
+ *
125
+ * SEO stop words (Google stop words, stopwords) are generic common words
126
+ * (and, or, besides, in, a, the, do, they, etc.) that Google may omit in
127
+ * search query processing because they don’t usually affect the meaning of the query.
128
+ * These words are actually used for grammatical purposes and don’t communicate a message on their own.
129
+ *
130
+ * For example, if you google something like “best carrot cake recipe” and “the best carrot cake recipe”,
131
+ * the SERP will anyway feature links to pages with carrot cake recipes. In this case, the does not
132
+ * add any meaning to the query.
133
+ *
134
+ */
135
+ /**
136
+ *
137
+ * ### toKebabCase
138
+ *
139
+ * First, removes special characters from the provided string value and converts it to lowercase.
140
+ *
141
+ * @param value The input string.
142
+ * @param removeStopWords Removes stop words if true.
143
+ * @param removeNumbers Removes numbers if true.
144
+ *
145
+ * @returns If `toKebabCase("bu 123 bir örnek 456 cümle", true, true)` is provided, it will return `"ornek-cumle"`.
146
+ *
147
+ */
148
+ declare function toKebabCase(value: string, removeStopWords?: boolean, removeNumbers?: boolean): string;
123
149
 
124
150
  type Nullable<T> = T | null;
125
151
  type THandler = Nullable<(value: string | null) => void>;