#slug #slugify #unicode-characters #unicode #url-path

slug_intl

Slugify strings while preserving printable Unicode characters for modern browsers

3 releases (1 stable)

new 1.0.0 Jan 20, 2025
1.0.0-alpha.2 Jul 31, 2024

#355 in Value formatting

Download history 20/week @ 2024-10-03 1/week @ 2024-10-10 4/week @ 2024-12-05 14/week @ 2024-12-12 89/week @ 2025-01-16

89 downloads per month

MIT license

6KB

slug_intl

Provides a simple slugify function to create a String suitable for use as a URL path component. Unlike other similar libraries, this maintains non-ASCII Unicode characters, which are well-supported by current browsers using percent-encoding.

Dependencies

~2.5MB
~118K SLoC