{"id":42659691,"url":"https://github.com/moonbit-community/prettyprinter","last_synced_at":"2026-01-29T09:31:33.853Z","repository":{"id":250833480,"uuid":"831649425","full_name":"moonbit-community/prettyprinter","owner":"moonbit-community","description":"Pretty printer engine for MoonBit","archived":false,"fork":false,"pushed_at":"2025-12-12T05:41:31.000Z","size":80,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-13T14:28:06.946Z","etag":null,"topics":["moonbit","pretty-printer"],"latest_commit_sha":null,"homepage":"","language":"MoonBit","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moonbit-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-21T07:54:07.000Z","updated_at":"2025-12-12T05:41:35.000Z","dependencies_parsed_at":"2024-07-30T10:40:51.083Z","dependency_job_id":"0133874c-e40d-4c20-aa1a-8cea85c92a69","html_url":"https://github.com/moonbit-community/prettyprinter","commit_stats":null,"previous_names":["yoorkin/prettyprinter","moonbit-community/prettyprinter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moonbit-community/prettyprinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fprettyprinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fprettyprinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fprettyprinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fprettyprinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonbit-community","download_url":"https://codeload.github.com/moonbit-community/prettyprinter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonbit-community%2Fprettyprinter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28873982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["moonbit","pretty-printer"],"created_at":"2026-01-29T09:31:33.219Z","updated_at":"2026-01-29T09:31:33.835Z","avatar_url":"https://github.com/moonbit-community.png","language":"MoonBit","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pretty printer\n\nA declarative-style pretty printer engine, which includes printers for built-in \ntypes such as `Array`, `Map`, and `Json`.\n\n# Usage\n\n## Print Value\n\nUse `render` to pretty print any type implemented `Pretty` trait.\n\n```moonbit\nlet map = {\n  \"name\": [\"John\", \"Mike\"], \"age\": [\"15\",\"18\"], \"id\": [\"11109121\",\"2000012312\"]\n}\nmap |\u003e @prettyprinter.render() |\u003e println()\n```\n\noutput:\n```\n{\n  \"name\": [\"John\", \"Mike\"],\n  \"age\": [\"15\", \"18\"],\n  \"id\": [\"11109121\", \"2000012312\"]\n}\n```\n\n## Implement Pretty Trait\n\nWrite declarative code to implement a printer for your type. \nSee example in package `prettyprinter/example`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonbit-community%2Fprettyprinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonbit-community%2Fprettyprinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonbit-community%2Fprettyprinter/lists"}