No description
Find a file
Leonard Kioi kinyanjui 41deb11da2
Merge pull request #1 from SolitudeSF/speedup
simplify implementation
2021-05-01 11:35:05 +03:00
src simplify implementation 2021-04-30 20:14:40 +03:00
tests remove test1 binary 2021-04-30 19:00:09 +03:00
.gitignore remove test1 binary 2021-04-30 19:00:09 +03:00
README.md add readme 2021-04-30 19:11:28 +03:00
slugify.nimble initial commit 2021-04-30 09:38:19 +03:00

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