ascii_tables

Render ASCII tables.

ascii_tables

Render ASCII tables.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      ascii_tables:
        codeberg: frncsdrk/ascii_tables
    
  2. Run shards install

Usage

require "ascii_tables"

Render tables with #render method.

config = AsciiTables::TableConfig.new
config.headers = ["one", "two", "three"]

table = AsciiTables.render([["hello", ",", "world"]], config)

puts table

Development

Requirements

  • Crystal installation
  • make for convenience

Setup

  • make deps or shards install

Contributing

  1. Fork it (https://codeberg.org/frncsdrk/ascii_tables/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

License

MIT or APACHE 2.0 (c) 2024 - 2025 frncsdrk and contributors

Repository

ascii_tables

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 1
  • 29 days ago
  • October 11, 2025
License

Links
Synced at

Fri, 30 Jan 2026 12:58:41 GMT

Languages