{"id":22747188,"url":"https://github.com/one-com/grapheetee","last_synced_at":"2025-04-14T11:33:48.894Z","repository":{"id":57253195,"uuid":"224664307","full_name":"One-com/grapheetee","owner":"One-com","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-28T14:37:14.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-13T04:26:35.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/One-com.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}},"created_at":"2019-11-28T13:55:07.000Z","updated_at":"2019-11-28T14:37:16.000Z","dependencies_parsed_at":"2022-08-31T22:20:11.813Z","dependency_job_id":null,"html_url":"https://github.com/One-com/grapheetee","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/One-com%2Fgrapheetee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/One-com%2Fgrapheetee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/One-com%2Fgrapheetee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/One-com%2Fgrapheetee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/One-com","download_url":"https://codeload.github.com/One-com/grapheetee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248872191,"owners_count":21175365,"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":[],"created_at":"2024-12-11T03:13:36.456Z","updated_at":"2025-04-14T11:33:48.122Z","avatar_url":"https://github.com/One-com.png","language":"JavaScript","readme":"# Grapheetee\n\nThis module is a clean fetch based GraphQL client.\n\n# Usage\n\nOnce installed, the module exposes a constructor at the top-level\nthat is ready to be instantiated in the browser:\n\n```js\nimport Grapheetee from \"grapheetee\";\n\nconst client = new Grapheetee({ url: \"/api\" });\n```\n\nNote that a base `url` must be supplied as an option to the constructor.\n\n### Node\n\nSince the client is fetch based, libraries that provide these interfaces\nmust be provided when the module is used on node. These details are handled\nautomatically by providing a node ready version of the library:\n\n```js\nconst Grapheetee = require(\"grapheetee/node\");\n\nconst instance = new Grapheetee({ url: \"/my/internal/service\" });\n```\n\n### Requests\n\nRequests are made by calling the `query()` or `mutation()` method on\nthe client instance:\n\n```js\ninstance.query({\n  query: \"...\",\n  valariables: {\n    /* optional */\n  }\n});\n\ninstance.mutation({\n  query: \"...\",\n  valariables: {\n    /* optional */\n  },\n  uploads: [\n    /* optional */\n  ]\n});\n```\n\n## License\n\ngrapheetee is licensed under a standard 3-clause BSD\nlicense -- see the `LICENSE`-file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fone-com%2Fgrapheetee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fone-com%2Fgrapheetee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fone-com%2Fgrapheetee/lists"}