{"id":15497374,"url":"https://github.com/heapwolf/go-tabulate","last_synced_at":"2025-10-27T18:09:18.101Z","repository":{"id":31427401,"uuid":"34990927","full_name":"heapwolf/go-tabulate","owner":"heapwolf","description":"Column-like layout (padded to fit) for arrays of strings.","archived":false,"fork":false,"pushed_at":"2015-05-03T15:43:48.000Z","size":144,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-18T14:49:15.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heapwolf.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}},"created_at":"2015-05-03T15:39:04.000Z","updated_at":"2021-01-13T19:45:46.000Z","dependencies_parsed_at":"2022-09-05T19:00:42.224Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/go-tabulate","commit_stats":null,"previous_names":["hij1nx/go-tabulate","0x00a/go-tabulate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heapwolf/go-tabulate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fgo-tabulate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fgo-tabulate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fgo-tabulate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fgo-tabulate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/go-tabulate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fgo-tabulate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260742713,"owners_count":23055827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-02T08:33:15.062Z","updated_at":"2025-10-27T18:09:17.981Z","avatar_url":"https://github.com/heapwolf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\nColumn-like layout (padded to fit) for arrays of strings.\n\nEach string from a `[]string` is padded to fit a given width\nand a string will be returned. Useful with [`termsize`][0].\n\n# EXAMPLE\n```go\npackage main\n\nimport \"fmt\"\nimport \"github.com/hij1nx/go-tabulate\"\n\nvar w = 80 // usually the calculated terminal width\nvar a = []string{\"foo\", \"barrrrrr\", \"bazz\", \"blaaaaa\"}\n\nfmt.Println(Tabulate(w, a))\n```\n\n# SCREENSHOT\n![img](/cols.png)\n\n[0]:https://github.com/hij1nx/go-termsize\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fgo-tabulate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Fgo-tabulate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fgo-tabulate/lists"}