{"id":32924262,"url":"https://github.com/Alevettih/ngx-graphql-client","last_synced_at":"2025-11-11T03:01:51.970Z","repository":{"id":323236325,"uuid":"1092540578","full_name":"Alevettih/ngx-graphql-client","owner":"Alevettih","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-08T23:05:27.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-11-09T00:17:42.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Alevettih.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-08T20:19:03.000Z","updated_at":"2025-11-08T22:59:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Alevettih/ngx-graphql-client","commit_stats":null,"previous_names":["alevettih/ngx-graphql-client"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Alevettih/ngx-graphql-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alevettih%2Fngx-graphql-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alevettih%2Fngx-graphql-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alevettih%2Fngx-graphql-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alevettih%2Fngx-graphql-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alevettih","download_url":"https://codeload.github.com/Alevettih/ngx-graphql-client/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alevettih%2Fngx-graphql-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283510278,"owners_count":26847751,"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-11-09T02:00:05.828Z","response_time":62,"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":[],"created_at":"2025-11-11T03:00:46.204Z","updated_at":"2025-11-11T03:01:51.964Z","avatar_url":"https://github.com/Alevettih.png","language":"TypeScript","funding_links":[],"categories":["Architecture and Advanced Topics"],"sub_categories":["GraphQL"],"readme":"# @alevettih/ngx-graphql-client\n\nA typed GraphQL client for Angular applications that makes it easy to work with\nGraphQL APIs using full TypeScript support.\n\n## Overview\n\n`@alevettih/ngx-graphql-client` is an Angular library that provides a simple, type-safe way\nto work with GraphQL APIs. The library relies on typed GraphQL operations and\nintegrates with Angular HttpClient to execute requests.\n\n## Features\n\n- ✅ Full TypeScript support for GraphQL operations\n- ✅ Support for queries, mutations, and batch operations\n- ✅ Custom error handlers per request\n- ✅ Automatically throws when a GraphQL response includes errors (via the built-in HTTP interceptor)\n- ✅ Seamless integration with Angular HttpClient, including support for all `HttpClient.post` options in every client method\n\n## Project Structure\n\n```\nngx-graphql-client/\n├── projects/\n│   └── ngx-graphql-client/        # Library source code\n│       └── src/\n│           └── lib/\n│               ├── helpers/       # Helpers and type guards\n│               ├── interceptors/  # HTTP interceptors\n│               ├── models/        # TypeScript models\n│               ├── services/      # GraphQLClient service\n│               └── types/         # TypeScript types\n├── dist/                          # Build artifacts\n└── package.json\n```\n\n## Development\n\n### Requirements\n\n- Node.js 24+\n- npm 11+\n- Angular CLI 20.3+\n\n### Install Dependencies\n\n```bash\nnpm install\n```\n\n### Build the Library\n\n```bash\nnpm run build\n```\n\nOr build in watch mode:\n\n```bash\nnpm run watch\n```\n\n### Testing\n\n```bash\nnpm run test\n```\n\n### Linting\n\nRun lint checks:\n\n```bash\nnpm run lint\n```\n\nAuto-fix issues:\n\n```bash\nnpm run lint:fix\n```\n\n### Formatting\n\nCheck formatting:\n\n```bash\nnpm run format:check\n```\n\nAuto-format the code:\n\n```bash\nnpm run format\n```\n\n## Library Usage\n\nFor detailed usage guidelines, see the\n[library README](projects/ngx-graphql-client/README.md).\n\n## Tech Stack\n\n- **Angular** 20+\n- **TypeScript** 5.9+\n- **GraphQL** 16+\n- **RxJS** 7.8+\n- **es-toolkit** 1.41+\n\n## License\n\nThis project is distributed under the [MIT](LICENSE) license.\n\n## Authors\n\n[@Alevettih](https://github.com/Alevettih)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlevettih%2Fngx-graphql-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlevettih%2Fngx-graphql-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlevettih%2Fngx-graphql-client/lists"}