No description or website provided.
Elm
Permalink
Failed to load latest commit information.
src
tests
LICENSE
README.md
elm-package.json

README.md

elm-hashids

Elm port of the Hashids library. http://hashids.org

Install:
elm-package install pdamoc/elm-hashids
Hello, World:
import Html exposing (..)
import Hashids exposing (..)

hashids = hashidsSimple "this is my salt"
ids = encodeList hashids [1, 2, 3]
numbers = decode hashids ids

main : Html
main = 
  div []
    [ text ids
    , br [] []
    , text <| toString numbers
    ]