casefold

Package Version Hex Docs

A small collection of utility functions and constants for working with strings.

gleam add casefold@1
import casefold.{casefold}

pub fn main() -> Nil {
  assert casefold("Ω and ẞ SHARP S") == "ω and ss sharp s"
}

Further documentation can be found at https://hexdocs.pm/casefold.

Development

gleam build # Build the project
gleam test  # Run the tests
Search Document