{"id":28554700,"url":"https://github.com/floraison/djan","last_synced_at":"2026-02-05T03:36:57.268Z","repository":{"id":268478524,"uuid":"904486693","full_name":"floraison/djan","owner":"floraison","description":"Pretty printing for floraison and flor","archived":false,"fork":false,"pushed_at":"2025-11-24T23:56:29.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T10:27:18.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/floraison.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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-12-17T01:43:23.000Z","updated_at":"2025-11-24T23:56:26.000Z","dependencies_parsed_at":"2024-12-17T02:44:31.062Z","dependency_job_id":"d88ee254-179c-47ad-9a60-bb4fd2b01774","html_url":"https://github.com/floraison/djan","commit_stats":null,"previous_names":["floraison/djan"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/floraison/djan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floraison%2Fdjan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floraison%2Fdjan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floraison%2Fdjan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floraison%2Fdjan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floraison","download_url":"https://codeload.github.com/floraison/djan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floraison%2Fdjan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29109304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:27:05.906Z","status":"ssl_error","status_checked_at":"2026-02-05T03:26:43.416Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-06-10T05:06:58.873Z","updated_at":"2026-02-05T03:36:57.251Z","avatar_url":"https://github.com/floraison.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# djan\n\n[![tests](https://github.com/floraison/fugit/workflows/test/badge.svg)](https://github.com/floraison/fugit/actions)\n[![Gem Version](https://badge.fury.io/rb/djan.svg)](https://badge.fury.io/rb/djan)\n\nPretty pretting for floraison and flor. A bit loose like JS and YAML.\n\nMeant for readable output, not for input.\n\n```ruby\nrequire 'djan'\n\nDjan.to_dnc(\"papa tango charly\")  # --\u003e\n  \"\\\"papa tango charly\\\"\"\nDjan.to_dnc({:a=\u003e\"abc\"})  # --\u003e\n  \"{ a: abc }\"\nDjan.to_dnc([1, 2, \"three\"])  # --\u003e\n  \"[ 1, 2, three ]\"\n```\n\n## options\n\n```ruby\nDjan.to_d(x, width: 40)\n  # set max width to 40 chars\n\nDjan.to_d(x, width: :console)\nDjan.to_d(x, width: true)\n  # use console width\n\nDjan.to_d(x, color: false)\nDjan.to_d(x, colour: false)\nDjan.to_d(x, colors: false)\nDjan.to_d(x, colours: false)\nDjan.to_dnc(x)\n  # output without colours\n```\n\n## LICENSE\n\nMIT, see [LICENSE.txt](LICENSE.txt)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloraison%2Fdjan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloraison%2Fdjan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloraison%2Fdjan/lists"}