Skip to content

v0.3.0 - Advanced Unicode string utilities

Choose a tag to compare

@Zheruel Zheruel released this 03 Sep 14:40
· 59 commits to main since this release
9353bbd

🎉 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 points
  • graphemes - Split strings into grapheme clusters (emoji-aware)
  • isASCII - Check if string contains only ASCII characters
  • toASCII - Convert strings to ASCII-safe representation with transliteration
  • normalizeWhitespace - Normalize various Unicode whitespace characters
  • removeNonPrintable - 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