v0.3.0 - Advanced Unicode string utilities
🎉 New Features
This release introduces 6 new advanced string manipulation utilities focused on Unicode handling, character normalization, and ASCII conversion.
New Utilities
codePoints- Convert strings into arrays of Unicode code pointsgraphemes- Split strings into grapheme clusters (emoji-aware)isASCII- Check if string contains only ASCII characterstoASCII- Convert strings to ASCII-safe representation with transliterationnormalizeWhitespace- Normalize various Unicode whitespace charactersremoveNonPrintable- Remove control and formatting characters
Key Features
- 🌍 Full Unicode Support - Properly handles emojis, combining characters, and complex Unicode
- 🔤 Smart Transliteration - Greek and Cyrillic character conversion in toASCII
- ⚙️ Configurable Options - Fine-tune behavior for whitespace and character handling
- 📦 Ultra-lightweight - Each utility under 1KB minified
- 🎯 100% Test Coverage - Comprehensive testing including edge cases
Installation
# NPM
npm install [email protected]
# JSR
npx jsr add @zheruel/[email protected]What's Changed
- Add 6 new Unicode string manipulation utilities with comprehensive test coverage
- Enhanced Unicode handling across the library
- Support for complex emoji sequences and grapheme clusters
- Greek and Cyrillic transliteration support
Full Changelog: v0.2.0...v0.3.0