{"id":13547355,"url":"https://github.com/jahewson/elm-graphql","last_synced_at":"2025-10-04T18:31:41.712Z","repository":{"id":66069815,"uuid":"50137948","full_name":"jahewson/elm-graphql","owner":"jahewson","description":"GraphQL for Elm","archived":true,"fork":false,"pushed_at":"2016-11-10T23:35:56.000Z","size":140,"stargazers_count":312,"open_issues_count":11,"forks_count":27,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-09-29T05:20:57.344Z","etag":null,"topics":["elm","graphql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jahewson.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-21T21:27:34.000Z","updated_at":"2023-06-10T08:59:30.000Z","dependencies_parsed_at":"2023-02-20T18:31:08.339Z","dependency_job_id":null,"html_url":"https://github.com/jahewson/elm-graphql","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahewson%2Felm-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahewson%2Felm-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahewson%2Felm-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jahewson%2Felm-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jahewson","download_url":"https://codeload.github.com/jahewson/elm-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235289310,"owners_count":18965920,"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":["elm","graphql"],"created_at":"2024-08-01T12:00:54.470Z","updated_at":"2025-10-04T18:31:41.352Z","avatar_url":"https://github.com/jahewson.png","language":"TypeScript","funding_links":[],"categories":["Libraries"],"sub_categories":["Elm Libraries"],"readme":"# elm-graphql\n\n`elm-graphql` generates [Elm](http://elm-lang.org) code for making [GraphQL](http://graphql.org) queries in a type-safe manner.\n\nAt compile time, `elm-graphql` takes GraphQL schema and named queries in a\n.graphql file and generates corresponding Elm types. The schema is obtained by introspection\nof a live GraphQL server.\n\n`elm-graphql` is simply for making queries, it **is not** a framework like [Relay](https://facebook.github.io/relay/) but it could be the foundation other abstractions in the future.\n\n## Install\n\n    npm install -g elm-graphql\n\n## Usage\n\nConfigure the GraphQL endpoint URL. This will be saved in `elm-package.json`:\n\n    elm graphql --init URL\n\nNow you can generate an Elm module for each .graphql file:\n\n    elm graphql\n\n## Example\n\nCheck out my [elm-graphql-demo](https://github.com/jahewson/elm-graphql-demo) which provides a sample application and includes full build instructions.\n\n## How it works\n\nSee the wiki page, [how elm-graphql works](https://github.com/jahewson/elm-graphql/wiki/How-elm-graphql-works) for more details.\n\n## Projects using elm-graphql\n\n- [elm-hipster-stack](https://github.com/carleryd/elm-hipster-stack): Elm, Phoenix, GraphQL and RethinkDB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahewson%2Felm-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjahewson%2Felm-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjahewson%2Felm-graphql/lists"}