{"id":18808647,"url":"https://github.com/michaelostermann/tables","last_synced_at":"2026-02-07T23:04:52.350Z","repository":{"id":241184179,"uuid":"802554124","full_name":"MichaelOstermann/tables","owner":"MichaelOstermann","description":"Highly customizable tables for CLIs and Markdown.","archived":false,"fork":false,"pushed_at":"2024-05-22T19:58:30.000Z","size":254,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T12:37:25.935Z","etag":null,"topics":["cli","cli-table","markdown","tables","terminal","terminal-table","tty-table"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MichaelOstermann.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":"2024-05-18T16:12:55.000Z","updated_at":"2024-11-03T07:32:27.000Z","dependencies_parsed_at":"2024-05-22T22:24:18.567Z","dependency_job_id":"12bf649f-f86c-4a57-9e11-a6cd3c3b0568","html_url":"https://github.com/MichaelOstermann/tables","commit_stats":null,"previous_names":["michaelostermann/tables"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MichaelOstermann/tables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelOstermann%2Ftables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelOstermann%2Ftables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelOstermann%2Ftables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelOstermann%2Ftables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MichaelOstermann","download_url":"https://codeload.github.com/MichaelOstermann/tables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelOstermann%2Ftables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29211645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T22:58:45.823Z","status":"ssl_error","status_checked_at":"2026-02-07T22:58:45.272Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","cli-table","markdown","tables","terminal","terminal-table","tty-table"],"created_at":"2024-11-07T23:13:40.383Z","updated_at":"2026-02-07T23:04:52.331Z","avatar_url":"https://github.com/MichaelOstermann.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003etables\u003c/h1\u003e\n\n**Highly customizable tables for CLIs and Markdown.**\n\n![Minified](https://img.shields.io/badge/Minified-25.13_KB-blue)\n![Minzipped](https://img.shields.io/badge/Minzipped-9.07_KB-blue)\n\n\u003c/div\u003e\n\nA library for creating complex tables that can handle unicode, alignments, styling, truncation, borders and paddings, primarily for printing to terminals.\n\nIt exposes high-level and easy to use functions that come with some defaults, as well as low-level building blocks that you can use to completely customize every single row and column if necessary!\n\n## Examples\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch3\u003eCLI\u003c/h3\u003e\n    \u003cimg src=\"./docs/examples/example1.png\" alt=\"Example\" width=\"700\" /\u003e\n    \u003cimg src=\"./docs/examples/example2.png\" alt=\"Example\" width=\"700\" /\u003e\n    \u003cimg src=\"./docs/examples/example3.png\" alt=\"Example\" width=\"700\" /\u003e\n    \u003ch3\u003eMarkdown\u003c/h3\u003e\n    \u003cimg src=\"./docs/examples/example4.png\" alt=\"Example\" width=\"700\" /\u003e\n\u003c/div\u003e\n\n## Installation\n\n```sh\nnpm install @monstermann/tables\nyarn add @monstermann/tables\npnpm add @monstermann/tables\n```\n\n## Getting Started\n\n```ts\nimport { cli } from '@monstermann/tables'\n\nconst result = cli.createTable({\n    columns: ['foo', 'bar'],\n    rows: [\n        { foo: 'Foo', bar: 'Bar' },\n    ],\n})\n\nconsole.log(result)\n```\n\n## Overview\n\n- [CLI](./docs/cli.md#cli)\n    - [Example](./docs/cli.md#example)\n    - [Options](./docs/cli.md#options)\n    - [Alignments](./docs/cli.md#alignments)\n    - [Styles](./docs/cli.md#styles)\n    - [Advanced](./docs/cli.md#advanced)\n        - [`createConfig`](./docs/cli.md#createconfig)\n        - [`createHeader`](./docs/cli.md#createheader)\n        - [`createRow`](./docs/cli.md#createrow)\n        - [`createRowSeparator`](./docs/cli.md#createrowseparator)\n        - [`createBorderTop`](./docs/cli.md#createbordertop)\n        - [`createBorderBottom`](./docs/cli.md#createborderbottom)\n        - [`createBorder`](./docs/cli.md#createborder)\n        - [`createCell`](./docs/cli.md#createcell)\n- [Markdown](./docs/markdown.md#markdown)\n    - [Example](./docs/markdown.md#example)\n    - [Options](./docs/markdown.md#options)\n- [Core](./docs/core.md#core)\n    - [`Cell`](./docs/core.md#cell)\n    - [`renderRows`](./docs/core.md#renderrows)\n    - [`renderCell`](./docs/core.md#rendercell)\n    - [`getCellContentWidth`](./docs/core#getcellcontentwidth)\n    - [`getCellDecorationsWidth`](./docs/core#getcelldecorationswidth)\n    - [`getCellWidth`](./docs/core.md#getcellwidth)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelostermann%2Ftables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelostermann%2Ftables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelostermann%2Ftables/lists"}