{"id":27197662,"url":"https://github.com/preaction/term-formatcolumns","last_synced_at":"2025-09-14T04:20:27.864Z","repository":{"id":6121382,"uuid":"7349461","full_name":"preaction/Term-FormatColumns","owner":"preaction","description":"Format list output to a terminal in nice columns, like ls(1) does.","archived":false,"fork":false,"pushed_at":"2020-09-13T10:35:19.000Z","size":39,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T03:23:36.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preaction.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","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":"2012-12-28T03:24:14.000Z","updated_at":"2020-09-13T10:41:00.000Z","dependencies_parsed_at":"2022-09-13T21:41:33.419Z","dependency_job_id":null,"html_url":"https://github.com/preaction/Term-FormatColumns","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FTerm-FormatColumns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FTerm-FormatColumns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FTerm-FormatColumns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FTerm-FormatColumns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preaction","download_url":"https://codeload.github.com/preaction/Term-FormatColumns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248106781,"owners_count":21048796,"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":"2025-04-09T20:29:17.691Z","updated_at":"2025-04-09T20:29:18.500Z","avatar_url":"https://github.com/preaction.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Term::FormatColumns - Format lists of data into columns across the\n    terminal's width\n\nVERSION\n    version 0.007\n\nSYNOPSIS\n        use Term::FormatColumns qw( format_columns );\n        my @list = 0..1000;\n        print format_columns @list;\n\nDESCRIPTION\n    This module will take a list and format it into columns that stretch\n    across the current terminal's width, much like the output of ls(1).\n\n    If the filehandle is not attached to a tty, will simply write one column\n    of output (again, like ls(1)).\n\nSUBROUTINES\n  format_columns\n        my $string = format_columns @array;\n\n    Format the list of data for STDOUT. Returns a single string formatted\n    and ready for output.\n\n  format_columns_for_fh\n        my $string = format_columns_for_fh $fh, @array;\n        my $string = format_columns_for_fh STDOUT, @array;\n\n    Format the given data for the given filehandle. If the filehandle is\n    attached to a tty, will get the tty's width to determine how to format\n    the data.\n\n  format_columns_for_width\n        my $string = format_columns_for_width 78, @array;\n\n    Format the given data for the given width. This allows you to use this\n    module without being attached to a known/knowable terminal.\n\nAUTHOR\n    Doug Bell \u003cpreaction@cpan.org\u003e\n\nCONTRIBUTOR\n    Marius Gavrilescu \u003cmarius@ieval.ro\u003e\n\nCOPYRIGHT AND LICENSE\n    This software is copyright (c) 2015 by Doug Bell.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fterm-formatcolumns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreaction%2Fterm-formatcolumns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fterm-formatcolumns/lists"}