This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Pluralize words, derived from nurugger07/inflex and ActiveSupport
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-01-19 02:20:09 UTC
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1



Pluralize and singularize words in Elm.

Based on nurugger07/inflex and Active Support.

import Inflexio.Pluralize exposing (singularize, pluralize)

singularize "birds"
-- "bird"

singularize "radii"
-- "radius"

singularize "sheep"
-- "sheep"

pluralize "bird"
-- "birds"

pluralize "radius"
-- "radii"

pluralize "sheep"
-- "sheep"