mirror of
https://github.com/lenniezelk/slugify
synced 2026-01-14 11:41:35 +00:00
No description
|
|
||
|---|---|---|
| src | ||
| tests | ||
| .gitignore | ||
| README.md | ||
| slugify.nimble | ||
Slugify
A nim library for converting a string into a slug suitable for use in URLs, IDs, filenames etc. Non latin characters are converted to their closest approximate Latin characters.
Usage
import slugify
let slug = slugify("i am a string")
echo slug # i-am-a-string
Options
| Name | Type | Default | Description |
|---|---|---|---|
delimiter |
String |
"-" |
Separator between words |
lowercase |
bool |
true |
Convert text to lowercase |