Sizeable: an Elixir library to make File Sizes human-readable
Wrote an Elixir library to make File Sizes human-readable. For example, it will turn the number 1284727 into a nice “1.23 MB”.
Find it at github.com/arvidkahl/sizeable or at hex.pm/packages/sizeable. Feature requests, feedback and pull requests are very welcome.
Read next Phoenix GraphQL Tutorial with Absinthe