element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
sixtytwo · v1.0.0

sixtytwo

Package Version Hex Docs

Base62 encoding and decoding for Gleam, targeting both Erlang and JavaScript.

Uses the standard 0-9A-Za-z alphabet with Bitcoin/base-x style leading zero preservation, compatible with base-x.

Usage

gleam add sixtytwo
import sixtytwo

sixtytwo.encode(<<"hello":utf8>>)
// -> "7tQLFHz"

sixtytwo.decode("7tQLFHz")
// -> Ok(<<"hello":utf8>>)

Further documentation can be found at https://hexdocs.pm/sixtytwo.

Search Document