Skip to content

lenniezelk/slugify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages