Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelcombs28/elm-base85
A library for encoding and decoding ascii85
https://github.com/michaelcombs28/elm-base85
base85 elm-lang
Last synced: 22 days ago
JSON representation
A library for encoding and decoding ascii85
- Host: GitHub
- URL: https://github.com/michaelcombs28/elm-base85
- Owner: MichaelCombs28
- License: mit
- Created: 2017-06-29T05:56:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-31T08:48:56.000Z (over 3 years ago)
- Last Synced: 2024-10-21T18:46:39.100Z (2 months ago)
- Topics: base85, elm-lang
- Language: Elm
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Base85
[![Build Status](https://travis-ci.org/MichaelCombs28/elm-base85.svg?branch=master)](https://travis-ci.org/MichaelCombs28/elm-base85)
This library provides you with encoding / decoding of
[Base85](https://en.wikipedia.org/wiki/Ascii85).## Usage
```elm
import Base85 exposing (encode, decode)
```To decode a String use
```elm
decode : String -> Result String String
decode encodedString =
Base85.decode encodedString
```To encode a String use
```elm
encode : String -> String
encode string =
Base85.encode string
```