@pixpilot/string 2.4.0 → 2.5.0
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,10 @@ if (isString(value)) {
|
|
|
55
55
|
- `isEmail(str: string): boolean` - Check if a string is a valid email address
|
|
56
56
|
- `isUrl(str: string): boolean` - Check if a string is a valid URL
|
|
57
57
|
|
|
58
|
+
### GUID Helpers
|
|
59
|
+
|
|
60
|
+
- `isGuidString(str: string): boolean` - Check if a string matches the canonical GUID format
|
|
61
|
+
|
|
58
62
|
### Manipulation Functions
|
|
59
63
|
|
|
60
64
|
- `truncate(str: string, maxLength: number, ellipsis?: string): string` - Truncate a string
|
package/package.json
CHANGED