stringzy 2.0.0 → 2.0.1
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/README.md +12 -12
- package/changelog.txt +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,12 +54,12 @@ const count = stringzy.analyze.wordCount('Hello world'); // 2
|
|
|
54
54
|
- [toSlug](#toslug) - Converts a string to a URL-friendly slug
|
|
55
55
|
- [capitalizeWords](#capitalizewords) - Capitalizes the first letter of each word
|
|
56
56
|
- [removeSpecialChars](#removespecialchars) - Removes special characters from a string
|
|
57
|
-
- [camelCase](#
|
|
58
|
-
- [pascaslCase](#
|
|
59
|
-
- [snakeCase](#
|
|
60
|
-
- [kebabCase](#
|
|
61
|
-
- [titleCase](#
|
|
62
|
-
- [constantCase](#
|
|
57
|
+
- [camelCase](#camelcase) - Converts the given string to Camel Case
|
|
58
|
+
- [pascaslCase](#pascalcase) - Converts the given string to Pascal Case
|
|
59
|
+
- [snakeCase](#snakecase) - Converts the given string to Snake Case
|
|
60
|
+
- [kebabCase](#kebabcase) - Converts the given string to Kebab Case
|
|
61
|
+
- [titleCase](#titlecase) - Converts the given string to Title Case
|
|
62
|
+
- [constantCase](#constantcase) - Converts the given string to Constant Case
|
|
63
63
|
|
|
64
64
|
### Validations
|
|
65
65
|
- [isURL](#isurl) - Checks if a string is a valid URL
|
|
@@ -169,7 +169,7 @@ removeSpecialChars('Phone: (123) 456-7890', '-');
|
|
|
169
169
|
| text | string | required | The input string to process |
|
|
170
170
|
| replacement | string | '' | String to replace special characters with |
|
|
171
171
|
|
|
172
|
-
#### <a id="
|
|
172
|
+
#### <a id="camelcase"></a>`camelCase(text)`
|
|
173
173
|
|
|
174
174
|
Converts the given string to Camel Case.
|
|
175
175
|
|
|
@@ -184,7 +184,7 @@ camelCase('this is a test'); // 'thisIsATest'
|
|
|
184
184
|
| text | string | required | The input string to convert to Camel Case |
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
#### <a id="
|
|
187
|
+
#### <a id="pascalcase"></a>`pascalCase(text)`
|
|
188
188
|
Converts the given string to Pascal Case.
|
|
189
189
|
|
|
190
190
|
```javascript
|
|
@@ -198,7 +198,7 @@ pascalCase('this is a test'); // 'ThisIsATest'
|
|
|
198
198
|
|-----------|------|---------|-------------|
|
|
199
199
|
| text | string | required | The input string to convert to Pascal Case |
|
|
200
200
|
|
|
201
|
-
#### <a id="
|
|
201
|
+
#### <a id="snakecase"></a>`snakeCase(text)`
|
|
202
202
|
|
|
203
203
|
Converts the given string to Snake Case.
|
|
204
204
|
|
|
@@ -215,7 +215,7 @@ snakeCase('this is a test'); // 'this_is_a_test'
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
#### <a id="
|
|
218
|
+
#### <a id="kebabcase"></a>`kebabCase(text)`
|
|
219
219
|
|
|
220
220
|
Converts the given string to Kebab Case.
|
|
221
221
|
|
|
@@ -232,7 +232,7 @@ kebabCase('this is a test'); // 'this-is-a-test'
|
|
|
232
232
|
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
#### <a id="
|
|
235
|
+
#### <a id="titlecase"></a>`titleCase(text)`
|
|
236
236
|
|
|
237
237
|
Converts the given string to Title Case.
|
|
238
238
|
|
|
@@ -247,7 +247,7 @@ titleCase('this is a test'); // 'This Is A Test'
|
|
|
247
247
|
|-----------|------|---------|-------------|
|
|
248
248
|
| text | string | required | The input string to convert to Title Case |
|
|
249
249
|
|
|
250
|
-
#### <a id="
|
|
250
|
+
#### <a id="constantcase"></a>`constantCase(text)`
|
|
251
251
|
Converts the given string to Constant Case.
|
|
252
252
|
|
|
253
253
|
```javascript
|
package/changelog.txt
CHANGED
|
@@ -2,6 +2,15 @@ CHANGELOG
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `stringzy` package will be documented in this file.
|
|
4
4
|
|
|
5
|
+
=============================================================================
|
|
6
|
+
Version 2.0.1 - 2025-05-23
|
|
7
|
+
-----------------------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
FIXED:
|
|
10
|
+
- Fixed README.MD table of contents for transformations.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
=============================================================================
|
|
6
15
|
Version 2.0.0 - 2025-05-22
|
|
7
16
|
-----------------------------------------------------------------------------
|