{"id":15292795,"url":"https://github.com/unlikelystudio/simpleql","last_synced_at":"2026-01-20T01:20:01.805Z","repository":{"id":54446398,"uuid":"276496595","full_name":"unlikelystudio/simpleql","owner":"unlikelystudio","description":"📚 Simple graphql client","archived":false,"fork":false,"pushed_at":"2023-06-21T10:03:45.000Z","size":346,"stargazers_count":1,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T01:18:24.442Z","etag":null,"topics":["fetch","graphql","graphql-client","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/unlikelystudio.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}},"created_at":"2020-07-01T22:41:27.000Z","updated_at":"2021-10-19T09:57:17.000Z","dependencies_parsed_at":"2025-02-12T09:48:50.638Z","dependency_job_id":"1c11ad1d-5538-4f4b-83e8-c0ae31c80298","html_url":"https://github.com/unlikelystudio/simpleql","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlikelystudio%2Fsimpleql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlikelystudio%2Fsimpleql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlikelystudio%2Fsimpleql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlikelystudio%2Fsimpleql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlikelystudio","download_url":"https://codeload.github.com/unlikelystudio/simpleql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430837,"owners_count":20937873,"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":["fetch","graphql","graphql-client","typescript"],"created_at":"2024-09-30T16:27:12.685Z","updated_at":"2026-01-20T01:20:01.746Z","avatar_url":"https://github.com/unlikelystudio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eSimpleQL\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/unlikelystudio/simpleql/workflows/Test/badge.svg\"\u003e\n  \u003cimg src=\"https://badge.fury.io/js/%40unlikelystudio%2Fsimpleql.svg\" alt=\"npm version\" height=\"18\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eMinimal graphql client\u003c/strong\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n_Inspired by [graphql-request](https://github.com/prisma-labs/graphql-request) by Prisma._\n\n## Getting started\n\n```bash\n\nnpm i @unlikelystudio/simpleql\n\n```\n\n```typescript\nimport SimpleQL from '@unlikelystudio/simpleql'\nimport gql from 'graphql-tag'\n\nconst client = new SimpleQL('https://api.unlikely.studio')\n\nconst query = `\n  query Projects {\n    projects(first: 3) {\n      edges {\n        node {\n          title\n          description\n          image {\n            src\n            width\n            height\n          }\n        }\n      }\n    }\n  }\n`\n\n// OR\n\nconst query = gql`\n  query Projects {\n    projects(first: 3) {\n      edges {\n        node {\n          title\n          description\n          image {\n            src\n            width\n            height\n          }\n        }\n      }\n    }\n  }\n`\n\nconst query = await client.query({\n  query,\n})\n```\n\n### Typescript users\n\nYou can add types to your query response.\n\n```typescript\ninterface Person {\n  name: string\n}\n\nconst query = await client.query\u003cPerson\u003e({\n  query,\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlikelystudio%2Fsimpleql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlikelystudio%2Fsimpleql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlikelystudio%2Fsimpleql/lists"}