This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
Capitalize a string.
version 1.0.0
license BSD3
native-modules False
elm-version 0.17.0 <= v < 0.18.0
Tag 1.0.1
Committed At 2016-07-06 23:47:05 UTC
elm-lang/core 4.0.1 <= v < 5.0.0 4.0.5
avh4/elm-spec 2.0.0 <= v < 3.0.0 2.0.0

Modules

README

elm-capitalize Build Status

Capitalize a string.

Install

$ elm package install rainteller/elm-capitalize

Usage

Import the package

import Capitalize

Capitalize only the first word of a sentence.

Capitalize.toCapital "hello world"  -- "Hello world"

Capitalize each word of a sentence.

Capitalize.toCapitalAll "hello world"  -- "Hello World"