Packages

A robust, type-safe slugification library for Gleam that converts text into URL-friendly slugs

Current section

Files

Jump to
glugify include glugify@config_Config.hrl
Raw

include/glugify@config_Config.hrl

-record(config, {
separator :: binary(),
lowercase :: boolean(),
max_length :: gleam@option:option(integer()),
word_boundary :: boolean(),
transliterate :: boolean(),
allow_unicode :: boolean(),
custom_replacements :: list({binary(), binary()}),
preserve_leading_underscore :: boolean(),
preserve_trailing_dash :: boolean(),
stop_words :: list(binary()),
trim :: boolean(),
locale :: glugify@locale:locale(),
decamelize :: boolean(),
decode_html_entities :: boolean(),
ignore :: list(binary())
}).