Skip to content

truqu/elm-base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm-Base64

Build Status

A base 64 encoding and decoding library for Elm.

Usage

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 -> String
encode regularString = Base64.encode regularString