This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 1.0.4
Committed At 2019-07-30 15:46:25 UTC

Modules

    README

    elm-ordinal

    Elm library for making English ordinal strings (1st, 2nd, 3rd)

    Example

    import Ordinal exposing (ordinal, ordinalSuffix)
    
    ordinal 42 == "42nd"
    ordinal 0 == "0th"
    ordinal (-1) == "-1st"
    
    ordinalSuffix 42 == "nd"
    ordinalSuffix 0 == "th"
    ordinalSuffix (-1) == "st"
    

    TODO

    • Support other languages, perhaps.