elm-inflect lets you convert a String to its plural, singular, camelCase, and PascalCase forms.
import Inflect exposing (pluralize, singularize, camelize, pascalize)
pluralize "axis" == "axes"
singularize "axes" == "axis"
camelize "foo _bar" == "fooBar"
pascalize "foo _bar" == "FooBar"The logic this package uses is borrowed from the activesupport Ruby gem and is therefore licensed under the same license: MIT.