@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/helpers/format/ToKebabCase.d.ts +27 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +27 -1
- package/dist/index.esm.js +2 -2
- package/dist/output-DjWTgiS1.css +241 -0
- package/package.json +1 -1
|
@@ -1 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* What are SEO stop words?
|
|
3
|
+
*
|
|
4
|
+
* SEO stop words (Google stop words, stopwords) are generic common words
|
|
5
|
+
* (and, or, besides, in, a, the, do, they, etc.) that Google may omit in
|
|
6
|
+
* search query processing because they don’t usually affect the meaning of the query.
|
|
7
|
+
* These words are actually used for grammatical purposes and don’t communicate a message on their own.
|
|
8
|
+
*
|
|
9
|
+
* For example, if you google something like “best carrot cake recipe” and “the best carrot cake recipe”,
|
|
10
|
+
* the SERP will anyway feature links to pages with carrot cake recipes. In this case, the does not
|
|
11
|
+
* add any meaning to the query.
|
|
12
|
+
*
|
|
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
|
+
*/
|
|
27
|
+
export default function toKebabCase(value: string, removeStopWords?: boolean, removeNumbers?: boolean): string;
|