stringzy
Version:
A versatile string manipulation library providing a range of text utilities for JavaScript and Node.js applications.
111 lines (82 loc) • 4.03 kB
Plain Text
CHANGELOG
All notable changes to the `stringzy` package will be documented in this file.
=============================================================================
Version 2.2.1 - 2025-06-04
-----------------------------------------------------------------------------
ADDED:
- Added npmignore file to exclude unnecessary files from the package
=============================================================================
Version 2.2.0 - 2025-06-04
-----------------------------------------------------------------------------
ADDED:
- Added new utility functions:
- `removeDuplicates`: Removes duplicate words from a string
- Added the stringzy banner to the README
=============================================================================
Version 2.1.0 - 2025-05-31
-----------------------------------------------------------------------------
ADDED:
- Added new utility functions:
- `removeWords`:
- `isDate`: Validates if a string is a valid date
- Added contributors section in README
- Added new badges for open source and PRs
=============================================================================
Version 2.0.1 - 2025-05-23
-----------------------------------------------------------------------------
FIXED:
- Fixed README.MD table of contents for transformations.
=============================================================================
Version 2.0.0 - 2025-05-22
-----------------------------------------------------------------------------
ADDED:
- Added a dynamic list of APIs in README
- Divided the package into 4 modules-transformations, validations, formatting and analysis
- Added many new APIs
- `camelCase`: Converts a string to camel case
- `kebabCase`: Converts a string to kebab case
- `snakeCase`: Converts a string to snake case
- `titleCase`: Converts a string to title case
- `constantCase`: Converts a string to constant case
- `pascalCase`: Converts a string to pascal case
- `isURL`: Validates if a string is a valid URL
- `isEmail`: Validates if a string is a valid email address
- `isEmpty`: Checks if a string is empty or contains only whitespace
- `wordCount`: Counts the number of words in a string
- `characterCount`: Counts the number of characters in a string
- `characterFrequency`: Calculates the frequency of each character in a string
- `capitalize`: Capitalizes the entire string
- `formatNumber`: Formats a number with commas as thousands separators
- `formatPhone`: Formats a phone number to a standard format
=============================================================================
Version 1.1.2 - 2025-05-15
-----------------------------------------------------------------------------
ADDED:
- Improved documentation with comprehensive README
- Enhanced examples for all utility functions
FIXED:
- Resolved documentation rendering issues on npm website
=============================================================================
Version 1.1.1 - 2025-05-15
-----------------------------------------------------------------------------
CHANGED:
- Updated package metadata
FIXED:
- Minor bug fixes in string handling edge cases
=============================================================================
Version 1.1.0 - 2025-05-15
-----------------------------------------------------------------------------
ADDED:
- Added extensive API documentation
CHANGED:
- Improved performance for `toSlug` function
- Enhanced error handling across all utility functions
=============================================================================
Version 1.0.0 - 2025-05-14
-----------------------------------------------------------------------------
ADDED:
- Initial release with four core utility functions:
- `truncateText`: Truncates text to a specified length with optional suffix
- `toSlug`: Converts text to URL-friendly slug format
- `capitalizeWords`: Capitalizes the first letter of each word
- `removeSpecialChars`: Removes special characters from text with optional replacement