sporto/elm-countries - version: 1.0.0

for more information visit the package's GitHub page

Package contains the following modules:

elm-countries

Unmantained fork of https://github.com/supermario/elm-countries. Use that one instead.

A searchable ISO 3166-1 based list of country names, codes and emoji flags

The library is intended to be used qualified (i.e. Countries.search, Countries.all).

> import Countries
> Countries.fromCode "AU"
Just { name = "Australia", code = "AU", flag = "🇦🇺" }
    : Maybe.Maybe Countries.Country

Example

There's an example with a country picker in the example directory.

cd example
elm-reactor

Note You must run elm-reactor from within the example directory to use the correct package dependencies.