This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Pluralize/Singularize Strings
version 1.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-01-23 19:12:18 UTC
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

Modules

README

elm-inflect

elm-inflect lets you convert a String to its plural, singular, camelCase, and PascalCase forms.

Examples

import Inflect exposing (pluralize, singularize, camelize, pascalize)

pluralize "axis" == "axes"
singularize "axes" == "axis"
camelize "foo _bar" == "fooBar"
pascalize "foo _bar" == "FooBar"

Documentation

License

The logic this package uses is borrowed from the activesupport Ruby gem and is therefore licensed under the same license: MIT.