{"id":15486388,"url":"https://github.com/ianfabs/jraph","last_synced_at":"2025-08-01T14:07:36.954Z","repository":{"id":33549687,"uuid":"157619724","full_name":"ianfabs/jraph","owner":"ianfabs","description":"A simple fetch-wrapper for making GraphQL API calls in a jiff!","archived":false,"fork":false,"pushed_at":"2023-04-29T20:59:05.000Z","size":80,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T16:56:04.013Z","etag":null,"topics":["fetch","fetch-api","graphql","isomorphic-fetch","isomorphic-javascript","javascript","typescript","vanilla-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ianfabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-11-14T22:29:38.000Z","updated_at":"2020-03-16T16:58:14.000Z","dependencies_parsed_at":"2024-12-14T15:34:06.707Z","dependency_job_id":"a2a657ca-4cb1-4344-a578-f23cbc9de308","html_url":"https://github.com/ianfabs/jraph","commit_stats":{"total_commits":95,"total_committers":3,"mean_commits":"31.666666666666668","dds":"0.12631578947368416","last_synced_commit":"a317a0309096b9346746101e2f7ecd1b30cf4a02"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/ianfabs/jraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianfabs%2Fjraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianfabs%2Fjraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianfabs%2Fjraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianfabs%2Fjraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianfabs","download_url":"https://codeload.github.com/ianfabs/jraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianfabs%2Fjraph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268240497,"owners_count":24218358,"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-08-01T02:00:08.611Z","response_time":67,"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":["fetch","fetch-api","graphql","isomorphic-fetch","isomorphic-javascript","javascript","typescript","vanilla-js"],"created_at":"2024-10-02T06:08:09.461Z","updated_at":"2025-08-01T14:07:36.921Z","avatar_url":"https://github.com/ianfabs.png","language":"JavaScript","readme":"# jraph\n## A simple fetch-wrapper for making GraphQL API calls in a jiff!\n\nDesigned to feel similar to using apollo's graphql-tag function.\n\n\n[![version](https://badgen.net/npm/v/jraph)](https://badgen.net/npm/v/jraph) \n[![bundlephobia](https://badgen.net/bundlephobia/minzip/jraph)](https://bundlephobia.com/result?p=jraph@1.4.0) \n[![total downloads](https://badgen.net/npm/dt/jraph)](https://badgen.net/npm/dt/jraph) \n\n[![Build Status](https://travis-ci.org/ianfabs/jraph.svg?branch=master)](https://travis-ci.org/ianfabs/jraph)\n[![last commit](https://badgen.net/github/last-commit/ianfabs/jraph)](https://badgen.net/github/last-commit/ianfabs/jraph) \n[![license](https://badgen.net/github/license/ianfabs/jraph)](https://badgen.net/github/license/ianfabs/jraph) \n\n[![graphql](https://badgen.net/badge//graphql?icon=graphql)](https://badgen.net/badge//graphql?icon=graphql) \n\n[![NPM](https://nodei.co/npm/jraph.png?mini=true)](https://nodei.co/npm/jraph/) \n\n### Options\n\nJraph takes two parameters\n\n - #### URL\n   - a URL string, this should be the URL to your graph-ql endpoint\n - #### Options\n   - Basically just fetch params\n   - Only works with post-requests right now please bear with me.\n\n#### Basic Example\n```js\n    import {jraph} from 'jraph';\n    const gql = jraph(\"https://csb-xpwq1o2824-xravvsjkul.now.sh/\");\n\n    async function getItems(){\n        return gql`{\n           items{\n              title\n              info\n           }\n        }\n        `\n    }\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianfabs%2Fjraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianfabs%2Fjraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianfabs%2Fjraph/lists"}