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

slug_intl

Slugify strings while preserving printable Unicode characters for modern browsers

3 releases (1 stable)

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

#357 in Value formatting

Download history 17/week @ 2024-12-08 1/week @ 2024-12-15 100/week @ 2025-01-19 3/week @ 2025-01-26 4/week @ 2025-02-02

107 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