{"id":29275858,"url":"https://github.com/peterroe/tablegger","last_synced_at":"2025-07-05T07:11:22.711Z","repository":{"id":189356928,"uuid":"680437811","full_name":"peterroe/tablegger","owner":"peterroe","description":"Print table structure, support color characters","archived":false,"fork":false,"pushed_at":"2025-05-01T12:06:14.000Z","size":661,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T00:10:05.319Z","etag":null,"topics":["browser","logger","nodejs","table","table-logger"],"latest_commit_sha":null,"homepage":"https://tablegger.vercel.app","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/peterroe.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":"2023-08-19T08:33:46.000Z","updated_at":"2024-04-11T12:14:56.000Z","dependencies_parsed_at":"2024-01-31T00:44:51.640Z","dependency_job_id":"53ab6461-8471-4590-9faf-0f27bf7e590d","html_url":"https://github.com/peterroe/tablegger","commit_stats":null,"previous_names":["peterroe/tablegger"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/peterroe/tablegger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterroe%2Ftablegger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterroe%2Ftablegger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterroe%2Ftablegger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterroe%2Ftablegger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterroe","download_url":"https://codeload.github.com/peterroe/tablegger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterroe%2Ftablegger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263699785,"owners_count":23497963,"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":["browser","logger","nodejs","table","table-logger"],"created_at":"2025-07-05T07:11:21.405Z","updated_at":"2025-07-05T07:11:22.705Z","avatar_url":"https://github.com/peterroe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tablegger\n\nFor printing tabular structured data, optional configuration and automatic alignment.\n\n## Feature\n\n* 📦 Out-of-the-box ANSI code support.\n* ⚙️ Supports flexible configurations such as borders and paddings.\n* 🔧 Automatic alignment.\n* 🤙🏻 Modify configuration anytime, anywhere.\n* 🦾 TypeScript, of course.\n\n## Try it now!\n\n```bash\n$ pnpm i tablegger\n```\n\n## Usage\n\n```ts\nimport { Tablegger } from 'tablegger'\n\nconst logger = new Tablegger({\n  theme: 'table',\n}).setRowHeaders(['Stage', 'Time', 'Rss', 'HeapTotal', 'HeapUsed'])\n\nlogger.addRow(['Init', '0ms', '38 MiB', '6.08 MiB', '5.12 MiB'])\nlogger.addRow(['Import', '4.7ms', '+9.63 MiB', '+4.77 MiB', '+4.77 MiB'])\nlogger.addRow(['Called', '7.24ms', '+0 Byte', '+0 Byte', '+792 Bytes'])\n\nconsole.log('table theme:')\nconsole.log(logger.toString())\n\n// Change Config anywhere, anyTime\nlogger.setConfig({\n  theme: 'horizontalLine',\n})\nconsole.log('horizontalLine theme:')\nconsole.log(logger.toString())\n\nlogger.setConfig({\n  theme: 'doubleLine',\n})\nconsole.log('doubleLine theme:')\nconsole.log(logger.toString())\n```\n\n\u003cimg src=\"https://tablegger.vercel.app/images/themes.png\"/\u003e\n\n[Read the documentation](https://tablegger.vercel.app) for more information","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterroe%2Ftablegger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterroe%2Ftablegger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterroe%2Ftablegger/lists"}