OSS Tanbou

Onfido GraphQL Request — a GraphQL client fork focused on global fetch and RequestInit

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
1
Primary language
TypeScript
License
MIT
Repository last updated
Aug 30, 2023

Overview

Onfido GraphQL Request is a fork of a minimal GraphQL client. It removes `cross-fetch` in favor of global `fetch` and changes request options so callers can pass the entire `RequestInit` object rather than only headers.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Send GraphQL queries and mutations through a small Promise API

Use the request helper or a GraphQLClient instance to call GraphQL endpoints with a lightweight API.

Sources: [2]

Pass full RequestInit options including AbortSignal

The fork's main change is accepting RequestInit, enabling native web options such as AbortController signals.

Sources: [2]

For existing code that depends on the Onfido fork behavior

It is most relevant where existing applications already depend on its global-fetch or RequestInit semantics.

Sources: [2]

Account for the fork, stale maintenance, and package-name differences

This repository is separate from the canonical upstream and has not been pushed since 2023. README examples retain upstream-era names, so verify actual install and import paths against @onfido/graphql-request.

Sources: [1][3]

Official sources

  1. [1]onfido/graphql-request repository(2026-09-21)
  2. [2]Onfido GraphQL Request README(2026-09-21)
  3. [3]@onfido/graphql-request package(2026-09-21)
  4. [4]Current upstream repository(2026-09-21)
  5. [5]MIT license(2026-09-21)
Supplemental curator note

This is not the canonical GraphQL Request repository; it is an Onfido fork whose lineage now points to `graffle-js/graffle`. The package is `@onfido/graphql-request` 1.1.0 and the last push was in August 2023. For new adoption, compare the fork-specific global-fetch and RequestInit behavior with current upstream options.

Try it in 3 steps

  1. 1

    Install the Onfido fork and GraphQL

    The README retains some upstream-era package names, but this fork is published as @onfido/graphql-request.

    npm add @onfido/graphql-request graphql
  2. 2

    Send a query with request

    Call an endpoint with the lightweight Promise-based request API.

    import { request, gql } from '@onfido/graphql-request'
  3. 3

    Pass an AbortSignal

    Exercise the fork-specific RequestInit support by cancelling a request through AbortController.

    request(endpoint, query, variables, { signal: controller.signal })
Check the official README

Growth

Growth trends · Last 30 days

1 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
0
Open PRs
4

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data
Stars
1
Forks
0
Watchers
0
Open issues
0
Contributors
35
Primary language
TypeScript
License
MIT
Repository last updated
Aug 30, 2023
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.