@haritias/string-cleaner
v1.0.1-s
Published
Normalize UTF-8 strings by removing accents and unwanted characters
Readme
@haritias/string-cleaner
A lightweight Node.js utility to remove accents, sanitize text, normalize strings, and optionally lowercase and replace spaces.
Perfect for clean URLs, filenames, search optimization, or preparing text for comparison.
🚀 Features
- Remove accents and special characters
- Normalize letters (é → e, ç → c, ñ → n, etc.)
- Optional lowercase transformation
- Optional keep/remove/replace spaces
- Simple CLI tool
unaccent - Works with Node.js ≥ 12
📦 Installation
npm install @haritias/string-cleaner