#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

#347 in Value formatting

28 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
~117K SLoC