{"id":16659489,"url":"https://github.com/r0man/alumbra.printer","last_synced_at":"2026-04-12T22:36:30.704Z","repository":{"id":62434338,"uuid":"162598320","full_name":"r0man/alumbra.printer","owner":"r0man","description":"A pretty printer for the Alumbra AST","archived":false,"fork":false,"pushed_at":"2019-12-19T21:51:05.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T06:46:25.907Z","etag":null,"topics":["alumbra","clojure","clojurescript","graphql"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/r0man.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["r0man"]}},"created_at":"2018-12-20T15:33:33.000Z","updated_at":"2019-12-19T21:51:08.000Z","dependencies_parsed_at":"2022-11-01T20:45:55.723Z","dependency_job_id":null,"html_url":"https://github.com/r0man/alumbra.printer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/r0man/alumbra.printer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0man%2Falumbra.printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0man%2Falumbra.printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0man%2Falumbra.printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0man%2Falumbra.printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r0man","download_url":"https://codeload.github.com/r0man/alumbra.printer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r0man%2Falumbra.printer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278406903,"owners_count":25981708,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["alumbra","clojure","clojurescript","graphql"],"created_at":"2024-10-12T10:25:23.478Z","updated_at":"2025-10-05T04:15:44.620Z","avatar_url":"https://github.com/r0man.png","language":"Clojure","funding_links":["https://github.com/sponsors/r0man"],"categories":[],"sub_categories":[],"readme":"* alumbra.printer\n  :PROPERTIES:\n  :CUSTOM_ID: alumbra.printer\n  :END:\n\n  [[https://clojars.org/r0man/alumbra.printer][https://img.shields.io/clojars/v/r0man/alumbra.printer.svg]]\n  [[https://travis-ci.org/r0man/alumbra.printer][https://travis-ci.org/r0man/alumbra.printer.svg]]\n  [[https://versions.deps.co/r0man/alumbra.printer][https://versions.deps.co/r0man/alumbra.printer/status.svg]]\n  [[https://versions.deps.co/r0man/alumbra.printer][https://jarkeeper.com/r0man/alumbra.printer/downloads.svg]]\n\n  A pretty printer for the [[https://github.com/alumbra][Alumbra]] AST.\n\n** Usage\n   :PROPERTIES:\n   :CUSTOM_ID: usage\n   :END:\n\n   Parse a GraphQL document.\n\n   #+BEGIN_SRC clojure :exports code :results silent\n     (require '[alumbra.parser :as parser])\n     (require '[alumbra.printer :as printer])\n\n     (def my-document\n       (parser/parse-document \"{ human(id: \\\"1000\\\") { name height(unit: FOOT) } }\"))\n   #+END_SRC\n\n   Print the document.\n\n   #+BEGIN_SRC clojure :exports both :results output\n     (printer/print my-document)\n   #+END_SRC\n\n   #+RESULTS:\n   : query { human(id: \"1000\") { name  height(unit: FOOT)  }  }\n\n   Pretty print the document.\n\n   #+BEGIN_SRC clojure :exports both :results output\n     (printer/pprint my-document)\n   #+END_SRC\n\n   #+RESULTS:\n   : query {\n   :   human(id: \"1000\") {\n   :     name\n   :     height(unit: FOOT)\n   :   }\n   : }\n\n** License\n   :PROPERTIES:\n   :CUSTOM_ID: license\n   :END:\n\n   MIT License, Copyright (c) 2019 [[https://github.com/r0man][r0man]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0man%2Falumbra.printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr0man%2Falumbra.printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0man%2Falumbra.printer/lists"}