f/graphql.js
A Simple and Isomorphic GraphQL Client for JavaScript observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3491
- days_rel: n/a
- days_push: 1276
- n_releases_24m: 0
Adoption not part of the score
2261 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
graphql.js is a lightweight (4k gzipped), dependency-free GraphQL client for JavaScript that works isomorphically in both browsers and Node.js. It provides a simple tag-based API for queries, mutations, fragments, autodeclared variables, and query merging to reduce request count.
Use cases
- make graphql queries from the browser without react or relay
- call a graphql api from node.js with a tiny client
- merge multiple graphql queries into fewer requests
- define reusable graphql fragments in javascript
- send authenticated graphql requests with custom headers
- use graphql in projects without a heavy apollo/relay stack
When to choose
- you need a minimal, zero-dependency graphql client
- your project doesn't use React, Relay, or Apollo
- you want isomorphic code running in both browser and Node.js
- bundle size is critical and you only need basic queries/mutations
When to avoid
- you need caching, subscriptions, or a normalized store (use Apollo or urql)
- you rely on active development and frequent updates
- you need TypeScript types or codegen integration
- you need websocket subscriptions or persisted queries
Facets
library · maturity maintenance
graphql-client http-client web-development frontend apis developer-tools browser cross-platform graphql isomorphic lightweight query-merging fragments no-dependencies nodejs
1 source
- readme: https://github.com/f/graphql.js · fetched 2026-08-28 · e3113396f71c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| f/graphql.js | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem