This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Base64 encoding and decoding, cloned from truqu/elm-base64.git
version 2.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.0
Committed At 2016-11-15 12:05:36 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1




A base 64 encoding and decoding library for Elm.


Add the import to the elm module where you want to do some base64 en- or decoding.

import Base64

To decode a String use

decode : String -> Result String String
decode encodedString = Base64.decode encodedString

To encode a String use

encode : String -> Result String String
encode regularString = Base64.encode regularString