{"id":22351599,"url":"https://github.com/117/pretty-table","last_synced_at":"2025-03-26T12:09:32.722Z","repository":{"id":55503590,"uuid":"323796633","full_name":"117/pretty-table","owner":"117","description":"Format data to a console-friendly table.","archived":false,"fork":false,"pushed_at":"2021-12-07T15:42:28.000Z","size":357,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T13:14:26.804Z","etag":null,"topics":["console","format","node","printer","read","table","write"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/117.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-12-23T03:52:15.000Z","updated_at":"2022-01-14T17:15:22.000Z","dependencies_parsed_at":"2022-08-15T02:00:19.617Z","dependency_job_id":null,"html_url":"https://github.com/117/pretty-table","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/117%2Fpretty-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/117%2Fpretty-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/117%2Fpretty-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/117%2Fpretty-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/117","download_url":"https://codeload.github.com/117/pretty-table/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650495,"owners_count":20650105,"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":["console","format","node","printer","read","table","write"],"created_at":"2024-12-04T12:14:28.953Z","updated_at":"2025-03-26T12:09:32.701Z","avatar_url":"https://github.com/117.png","language":"TypeScript","readme":"# pretty-table\n\n![version](https://img.shields.io/github/package-json/v/117/pretty-table?color=196DFF\u0026style=flat-square)\n![language](https://img.shields.io/github/languages/code-size/117/pretty-table?color=F1A42E\u0026style=flat-square)\n![build](https://img.shields.io/github/workflow/status/117/pretty-table/test?style=flat-square)\n![prettier](https://img.shields.io/static/v1?label=code%20style\u0026message=prettier\u0026color=ff51bc\u0026style=flat-square)\n\nFormat data to a console friendly table.\n\n## Contents\n\n- [Features](#features)\n- [Install](#install)\n- [Example](#example)\n- [Contributing](#contributing)\n\n## Features\n\n- [x] Extremely fast.\n- [x] Prints your data to pretty tables.\n\n## Install\n\nFrom NPM:\n\n```terminal\n$ npm i @master-chief/pretty-table\n```\n\n## Example \n\n```typescript\nimport pretty from '@master-chief/pretty-table'\n\nlet data = [\n  { name: 'cosmo', animal: 'cat', age: 12 },\n  { name: 'mabel', animal: 'dog', age: 18 },\n]\n\nconsole.log(pretty(data))\n```\n\nThe above code will output a formatted (and pretty 😍) table.\n\n```terminal\nname  animal age\ncosmo cat    12\nmabel dog    18\n```\n\n## Contributing\n\nFeel free to contribute and PR to your 💖's content.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F117%2Fpretty-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F117%2Fpretty-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F117%2Fpretty-table/lists"}