Popularity
3.3
Growing
Activity
3.0
Declining
17
1
5

Monthly Downloads: 1,142,243
Programming language: Elixir
License: MIT License
Tags: Text And Numbers    
Latest version: v1.2.1

base62 alternatives and similar packages

Based on the "Text and Numbers" category.
Alternatively, view base62 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of base62 or a related project?

Add another 'Text and Numbers' Package

README

Base62 VersionLicenseBuild StatusIssuesDownloads

Base62 encoder/decoder in pure Elixir.

Usage

Encode

iex> Base62.encode(28)
"S"

iex> Base62.encode(44)
"i"

iex> Base62.encode(280)
"4W"

Decode!

iex> Base62.decode!("100")
3844

iex> Base62.decode!("igas")
10650166

iex> Base62.decode!("EvilMartians")
776957886790921093120

Decode

iex> Base62.decode("42")
{:ok, 250}

iex> Base62.decode("Игас")
:error

iex> Base62.decode("Elixir")
{:ok, 13531063449}

License

Released under the MIT License.


*Note that all licence references and agreements mentioned in the base62 README section above are relevant to that project's source code only.