Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GraphQL
  3. graphql-request

graphql-request

MITTypeScript7.4.0

A minimal, extensible, and type-safe GraphQL client for JavaScript with full type inference and a powerful extension system.

Visit WebsiteGitHubGitHub
6.1k stars309 forks0 contributors

What is graphql-request?

Graffle is a GraphQL client for JavaScript that simplifies making GraphQL API requests. It provides a minimal, type-safe interface with full type inference from GraphQL operations, solving the problem of verbose and error-prone GraphQL client setup.

Target Audience

JavaScript and TypeScript developers building applications that consume GraphQL APIs, particularly those who value type safety and minimal configuration.

Value Proposition

Developers choose Graffle for its balance of simplicity and extensibility—it offers a lightweight core with a powerful extension system, strong TypeScript support, and the ability to work across different environments without unnecessary complexity.

Overview

Simple GraphQL Client for JavaScript. Minimal. Extensible. Type Safe. Runs everywhere.

Use Cases

Best For

  • Building type-safe GraphQL clients in TypeScript projects
  • Applications requiring minimal GraphQL client configuration
  • Projects that need extensible GraphQL functionality through plugins
  • Developing with both HTTP and in-memory GraphQL transports
  • Teams prioritizing developer experience with native GraphQL syntax
  • Handling custom scalar types in GraphQL APIs

Not Ideal For

  • Projects requiring a stable, production-ready GraphQL client with no breaking changes
  • Teams that need built-in advanced features like caching and state management without plugins
  • Developers working in non-TypeScript environments where type inference is a key selling point

Pros & Cons

Pros

Full Type Inference

Automatically infers types from GraphQL operations, providing enhanced type safety as highlighted in the key features, reducing manual type definitions.

Extensible Plugin System

Offers a powerful extension system with a rich ecosystem of community-built plugins, allowing customization without bloating the core, as mentioned in the philosophy.

Multi-Transport Support

Works with HTTP and in-memory transports, making it versatile for different use cases from web APIs to testing, per the key features list.

Native GraphQL Syntax

Supports writing queries using standard GraphQL syntax without extra abstractions, simplifying development and aligning with GraphQL best practices.

Cons

Pre-Release Instability

Currently in pre-release, so APIs may change and it's not yet fully stable for production use, as noted in the README installation warning.

Minimal Core Functionality

The focus on minimalism means advanced features like caching or persisted queries require extensions, adding setup complexity compared to all-in-one clients.

Limited Ecosystem Maturity

As a newer project, the ecosystem of extensions is still growing, which can limit out-of-the-box solutions and community support compared to established alternatives.

Frequently Asked Questions

Quick Stats

Stars6,116
Forks309
Contributors0
Open Issues49
Last commit17 days ago
CreatedSince 2017

Tags

#frontend-development#graphql#type-safety#lightweight#extensible-architecture#nodejs#typescript#api-client#javascript#graphql-client#http-client#graphql-tooling

Links & Resources

Website

Included in

GraphQL15.0k
Auto-fetched 1 day ago

Related Projects

apollo-clientapollo-client

The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development.

Stars19,714
Forks2,701
Last commit1 day ago
relayrelay

Relay is a JavaScript framework for building data-driven React applications.

Stars18,935
Forks1,889
Last commit1 day ago
aws-amplifyaws-amplify

A declarative JavaScript library for application development using cloud services.

Stars9,581
Forks2,167
Last commit2 days ago
urqlurql

The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Stars8,945
Forks474
Last commit9 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub