Fitz v0.1.0 Fitz View Source
Documentation for Fitz.
Link to this section Summary
Functions
Fitz file_slug/1? Makes a slug from a filename
Hello world
Fitz is_nil? Checks if the entity is empty or nil
Fitz slugify/1? Makes a slug from a string
Fitz slugify/2? Makes a slug from a string
Link to this section Functions
Fitz file_slug/1? Makes a slug from a filename
Examples
iex> Fitz.file_slug(“the best winter picture.png”) “the-best-winter-picture-2982982922282.png”
Fitz slugify/1? Makes a slug from a string
Examples
iex> Fitz.sluggify(“Apples are super tasty and fun and nice to eat, don’t you think so?”) “apples-are-super-tasty-and-fun”