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

slug_intl

Slugify strings while preserving printable Unicode characters for modern browsers

2 releases

1.0.0-alpha.2 Jul 31, 2024

#330 in Value formatting

Download history 203/week @ 2024-07-26 38/week @ 2024-08-02 23/week @ 2024-09-13 29/week @ 2024-09-20 58/week @ 2024-09-27 7/week @ 2024-10-04 1/week @ 2024-10-11

96 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

~2MB
~107K SLoC