{"id":16399256,"url":"https://github.com/klntsky/simpletablegenerator","last_synced_at":"2026-06-15T06:01:40.216Z","repository":{"id":81698966,"uuid":"60977145","full_name":"klntsky/SimpleTableGenerator","owner":"klntsky","description":"Pretty text table generator with multiline support!","archived":false,"fork":false,"pushed_at":"2017-02-22T19:32:10.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T11:16:12.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klntsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-12T16:26:40.000Z","updated_at":"2017-02-19T21:08:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0a10dbe-ce0f-4037-b274-d78ec4523956","html_url":"https://github.com/klntsky/SimpleTableGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klntsky/SimpleTableGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klntsky%2FSimpleTableGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klntsky%2FSimpleTableGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klntsky%2FSimpleTableGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klntsky%2FSimpleTableGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klntsky","download_url":"https://codeload.github.com/klntsky/SimpleTableGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klntsky%2FSimpleTableGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34349928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T05:23:29.589Z","updated_at":"2026-06-15T06:01:40.175Z","avatar_url":"https://github.com/klntsky.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleTableGenerator\n\n## About\n\nThis library is for drawing text tables.\n\nPass a 2D-list of strings representing cells and get a single string with table contents.\n\n```\nmakeDefaultSimpleTable :: [[String]] -\u003e String\n```\n\nNewlines are supported.\n\n## Basic usage\n\n```\nputStrLn $ makeDefaultSimpleTable [[\"1\",\"2\",\"3\"], [\"One\",\"Two\",\"Three\"], [\"First\", \"Second\"]]\n```\n```\n┌───────┬────────┬───────┐\n│ 1     │ 2      │ 3     │\n├───────┼────────┼───────┤\n│ One   │ Two    │ Three │\n├───────┼────────┼───────┤\n│ First │ Second │       │\n└───────┴────────┴───────┘\n```\n\n## Advanced usage\n\nYou can configure the table by constructing `SimpleTableConfig` and passing it to `makeSimpleTable`.\n\n```\nputStrLn $ makeSimpleTable simpleTableConfig {\n    tableBorders = \"+++++++++-|\",\n    colMinWidths  = [3, 4],\n    rowMinHeights = [2],\n    padFunction   = simpleTableLeftPad,\n    cellPadFunction = simpleTableBottomPad,\n    horizontalPadding = 0,\n    verticalPadding = 1,\n    paddingStr = \".,`\"\n    } [[\"a\"], [\"b\", \"c\"]]\n```\n```\n+---+----+\n|.,`|.,`.|\n|.,a|.,`.|\n|.,`|.,`.|\n|.,`|.,`.|\n+---+----+\n|.,`|.,`.|\n|.,b|.,`c|\n|.,`|.,`.|\n+---+----+\n```\n\nCheck out [the docs](https://hackage.haskell.org/package/SimpleTableGenerator-0.2.0.0/docs/Text-SimpleTableGenerator.html) for more info.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklntsky%2Fsimpletablegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklntsky%2Fsimpletablegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklntsky%2Fsimpletablegenerator/lists"}