{"id":19654321,"url":"https://github.com/bernardini687/minitable","last_synced_at":"2026-05-16T03:03:56.654Z","repository":{"id":62421450,"uuid":"265479675","full_name":"bernardini687/minitable","owner":"bernardini687","description":"🦕 deno utility module for simple table printing","archived":false,"fork":false,"pushed_at":"2020-05-27T06:09:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T07:47:18.294Z","etag":null,"topics":["deno","minimal","module"],"latest_commit_sha":null,"homepage":"https://deno.land/x/minitable","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/bernardini687.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":"2020-05-20T07:02:26.000Z","updated_at":"2020-05-27T06:08:56.000Z","dependencies_parsed_at":"2022-11-01T17:31:57.824Z","dependency_job_id":null,"html_url":"https://github.com/bernardini687/minitable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardini687%2Fminitable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardini687%2Fminitable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardini687%2Fminitable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernardini687%2Fminitable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bernardini687","download_url":"https://codeload.github.com/bernardini687/minitable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962708,"owners_count":19885520,"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":["deno","minimal","module"],"created_at":"2024-11-11T15:16:55.821Z","updated_at":"2026-05-16T03:03:56.565Z","avatar_url":"https://github.com/bernardini687.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minitable\n\n_shape a list of data into a table_\n\nsimple helper to get a string designed to be printed as a table.\n\n# usage\n\n```ts\nimport { table } from 'https://deno.land/x/minitable@v1.0/mod.ts'\n\nconst fruits = [\n  { name: 'mango', color: 'orange', quantity: 3 },\n  { name: 'lemon', color: 'yellow', quantity: 1 },\n  { name: 'strawberry', color: '', quantity: 5 },\n  { name: 'tomato', color: 'red', quantity: 17 },\n]\n\n// change the order of the columns\nconst t = table(fruits, ['quantity', 'color', 'name'])\n\nconsole.log(t)\n/*\n  quantity  color   name\n  3         orange  mango\n  1         yellow  lemon\n  5                 strawberry\n  17        red     tomato\n*/\n```\n\n# options\n\n```ts\n// pick the properties to show\nconst t = table(fruits, ['color', 'name'], {\n  padding: 4,\n  upcaseHeader: true,\n  emptyReplacer: 'NO DATA POINT',\n})\n\nconsole.log(t)\n/*\n  COLOR            NAME\n  orange           mango\n  yellow           lemon\n  NO DATA POINT    strawberry\n  red              tomato\n*/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardini687%2Fminitable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernardini687%2Fminitable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernardini687%2Fminitable/lists"}