u/AppropriateCulture76

▲ 7 r/ruby

Showoff] typed_print – Zero-dependency tables from hashes

Hi everyone,

I recently shared this in another forum and wanted to post it here as well. I made a small Ruby gem called typed_print when I was bored one evening.

It does one simple thing: turns hashes into clean, aligned tables in the terminal. It also supports Markdown output.

data = [{ name: "Alice", score: 100 }, { name: "Bob", score: 42 }]
TypedPrint.print(data, format: :markdown)

No dependencies, just a tiny tool to make console output more readable.

Links:
RubyGems: https://rubygems.org/gems/typed_print
GitHub: https://github.com/enderahmetyurt/typed_print

Thanks for checking it out!

reddit.com
u/AppropriateCulture76 — 20 hours ago