v0.2.0 - 11 New String Utilities
What's New
This release adds 11 powerful new string utilities to the library, expanding our collection from 15 to 26 functions!
✨ New Functions
Template Processing
template()- String interpolation with variables and nested object supporttemplateSafe()- HTML-escaped version of template for safe rendering
Padding Utilities
pad()- Pad string on both sides to target lengthpadStart()- Pad string on the left to target lengthpadEnd()- Pad string on the right to target length
Case Conversions
titleCase()- Proper title capitalization with customizable exceptionsconstantCase()- Convert to CONSTANT_CASE formatdotCase()- Convert to dot.case formatpathCase()- Convert to path/case formatsentenceCase()- Capitalize first letter of each sentence
Text Processing
deburr()- Remove diacritics/accents from Latin characters (é→e, ñ→n)
📦 Installation
npm install [email protected]🚀 Features
- All functions maintain < 1KB bundle size
- Full TypeScript support with comprehensive types
- Unicode-aware implementations for proper emoji handling
- 100% test coverage for all new functions
- Zero dependencies
📖 Full Changelog
See CHANGELOG.md