For a javascript library for graphql apis, the strongest matches are apollostack/apollo-client (Apollo Client is a comprehensive, industry-standard GraphQL client library), prisma-labs/graphql-yoga (GraphQL Yoga is a comprehensive, TypeScript-native server framework that) and formidablelabs/urql (This is a GraphQL client library that provides robust). apollographql/graphql-tools and prisma-labs/graphql-request round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Nous sélectionnons les dépôts GitHub open-source correspondant à « best javascript graphql libraries ». Les résultats sont classés par pertinence par rapport à votre recherche — utilisez les filtres ci-dessous pour affiner, ou utilisez l'IA.
Apollo Client is a frontend GraphQL integration layer and client library used to fetch, manage, and cache data from a GraphQL server in web and mobile applications. It functions as a state management framework that synchronizes remote server data with local application state. The project provides a TypeScript wrapper for executing GraphQL queries and mutations, ensuring type-safe API integration with automatic validation and code completion. The library manages data fetching and synchronization between the backend and the user interface. It includes capabilities for caching GraphQL results l
Apollo Client is a comprehensive, industry-standard GraphQL client library that provides robust TypeScript support, normalized caching, and reactive state management for frontend applications.
GraphQL Yoga is a GraphQL server framework designed for building APIs that operate across all JavaScript environments. It utilizes the WHATWG Fetch API to provide a standardized request and response interface, enabling the server to run on serverless and edge computing platforms. The framework includes a specialized server for processing file uploads via the standard GraphQL multipart request specification and a subscription server that delivers real-time data streaming through server-sent events. An extensible plugin framework allows for the injection of custom behaviors and logic into the r
GraphQL Yoga is a comprehensive, TypeScript-native server framework that provides a robust implementation for building GraphQL APIs with built-in support for subscriptions, plugin-based extensibility, and edge-ready performance.
urql is a GraphQL client and data management tool used to execute GraphQL operations and synchronize data from remote servers within a software application. It functions as a mechanism for fetching, caching, and managing GraphQL data to maintain state across application views. The project features a pluggable middleware architecture and a normalized GraphQL cache. This allows for the insertion of custom logic into the request and response lifecycle to modify client behavior and the organization of responses by unique identifiers to ensure data consistency. The client provides capabilities fo
This is a GraphQL client library that provides robust caching, TypeScript support, and subscription capabilities, making it a strong choice for managing GraphQL data on the frontend.
graphql-tools is a toolkit for constructing, modifying, and combining GraphQL schemas. It provides a suite of utilities for parsing Schema Definition Language, managing resolver bindings, and assembling executable schemas. The project enables the composition of unified GraphQL gateways by merging multiple independent subschemas through schema stitching. This includes capabilities for entity type merging, type extension, and field resolution delegation to route requests across different services. The toolkit also includes a mocking engine that generates simulated GraphQL schemas and data. Thi
This toolkit provides essential utilities for schema-first development and schema composition, serving as a foundational library for building GraphQL servers, though it does not function as a full-featured client or a standalone server implementation.
graphql-request is a lightweight, type-safe GraphQL client library for JavaScript that runs across browsers, Node.js, and other JavaScript environments. It provides a minimal HTTP client for sending queries and mutations, with a promise-based execution model that uses the native fetch API for cross-runtime compatibility without additional dependencies. The client supports reusable selection set composition at runtime, allowing fragments to be shared across multiple requests to reduce duplication. It includes a plugin-based extension system for adding custom middleware, tracing, or file upload
This is a lightweight, type-safe GraphQL client library that provides a straightforward way to execute queries and mutations in JavaScript environments, though it lacks built-in server-side implementation capabilities.
Apollo Client is a GraphQL client library and data fetching framework used to request data from a GraphQL server and synchronize that state within a frontend application. It functions as a remote state manager and a local state management tool, allowing developers to define client-side schemas and resolvers for data that does not reside on a remote server. The project features a normalized GraphQL cache that identifies objects by ID to ensure referential equality and consistent data updates across different queries. It also includes a GraphQL API mocking tool to simulate server responses and
Apollo Client is a comprehensive GraphQL client library that provides robust caching, TypeScript support, and advanced state management for frontend applications, though it does not implement the server-side portion of your requirements.
Vue Apollo is a GraphQL integration library for Vue applications that connects Vue components to GraphQL APIs using Apollo Client. It provides a reactive data layer for querying, mutating, and subscribing to data from GraphQL endpoints, with automatic cache updates and real-time subscription support. The library offers multiple API surfaces for working with GraphQL data, including slot-based declarative components, composable functions for the Composition API, and Options API integration. It handles the full lifecycle of GraphQL operations, from automatic data fetching with reactive queries t
This library provides a robust integration for connecting Vue applications to GraphQL APIs, offering essential client-side features like caching, subscription support, and TypeScript integration.
urql is a GraphQL client library designed for fetching and managing data from a GraphQL API. It provides a system for handling GraphQL data fetching, state management, and integration with React components. The library is distinguished by a middleware pipeline architecture that allows the request-response flow to be modified through swappable exchanges. This enables the customization of the data layer, including the addition of custom business logic, request deduplication, and specialized fetching behaviors. The project covers a broad range of capabilities, including normalized caching to en
This is a GraphQL client library that provides robust TypeScript support, normalized caching, and a flexible middleware architecture for managing data in JavaScript applications.
React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code. The library distinguishes itself through a normalized cache layer that deduplicates entities and serves repeated requests without network calls, combined with incremental result streaming via the @defer directive for
This is a specialized GraphQL client library for React that provides declarative hooks, normalized caching, and subscription support, making it a direct fit for implementing GraphQL clients in JavaScript applications.
This project is the JavaScript reference implementation of the GraphQL specification. It provides a query engine and schema parser designed to parse, validate, and execute queries to retrieve or mutate data based on a defined schema. The implementation includes a framework for mapping codebase structures to a strongly typed system and a tool for converting query strings into abstract syntax trees for programmatic analysis. The library covers the full surface of GraphQL API implementation, including schema definition, language parsing, and query validation. It provides the necessary infrastru
This is the official reference implementation for GraphQL in JavaScript, providing the foundational engine for building both servers and clients with full TypeScript support and schema-first capabilities.
Yoga is a GraphQL server framework and runtime-agnostic HTTP handler used to build and deploy GraphQL APIs. It functions as a toolkit for managing schemas and resolvers, providing a spec-compliant environment for hosting APIs across diverse JavaScript runtimes, including Node.js, Deno, Bun, and serverless cloud environments. The project distinguishes itself through its ability to act as an Apollo Federation gateway, composing multiple subgraphs into a single unified supergraph. It also serves as a dedicated subscription server, delivering real-time data streaming via both WebSockets and Serve
This is a comprehensive GraphQL server framework that supports schema-first development, TypeScript, and real-time subscriptions, making it a robust choice for building GraphQL APIs in JavaScript environments.
Relay is a GraphQL client framework and state manager used for building data-driven applications. It functions as a declarative data fetching layer and a GraphQL compiler that transforms declarations into optimized runtime code with automatic type generation. The framework distinguishes itself through a build-time compilation process that generates optimized queries and a data masking system that prevents components from accessing undeclared data. It employs a normalized client-side cache to maintain consistency across entities and an optimistic update mechanism to provide immediate interface
Relay is a specialized GraphQL client framework that provides advanced features like normalized caching, optimistic updates, and compile-time type generation for data-driven applications, though it focuses exclusively on the client-side rather than server implementation.
graphql-tools is a GraphQL schema orchestration library and toolkit designed for building, merging, and extending schemas. It provides an SDL-first schema generator that transforms Schema Definition Language strings and resolver maps into executable schema instances. The project features a dedicated schema stitching tool for combining multiple independent GraphQL schemas into a single unified API gateway. It also includes a GraphQL mocking engine that simulates backends by generating synthetic data based on schema definitions. The toolkit covers a broad range of composition capabilities, inc
This library provides essential tools for schema-first development and schema orchestration, making it a core utility for building GraphQL servers, though it functions as a toolkit for schema management rather than a full-stack server or client implementation.
Type-graphql is a framework for building GraphQL servers that uses TypeScript classes as the single source of truth for schema definitions and types. It provides a schema generator and a resolver framework that allows developers to define queries and mutations using class-based controllers and decorators. The project focuses on a schema-first approach where TypeScript classes and metadata reflection are used to automatically derive GraphQL schemas. It incorporates a dependency injection container to manage the instantiation and lifecycle of resolver classes. The system includes a middleware
This framework provides a robust, TypeScript-centric way to build GraphQL servers using class-based schema definitions, though it is specifically a server-side tool rather than a full-stack client and server library.
Code-First, Type-Safe, GraphQL Schema Construction
Nexus is a code-first library for building type-safe GraphQL schemas in TypeScript, providing a robust server-side foundation even though it focuses on schema construction rather than being a full-stack client or server implementation.
Toolkit for generating complex GraphQL Schemas on Node.js
This toolkit provides a powerful way to build complex GraphQL schemas using a code-first approach in Node.js, making it a highly effective library for implementing GraphQL servers with TypeScript support.
| Dépôt | Stars | Langage | Licence | Dernier push |
|---|---|---|---|---|
| apollostack/apollo-client | 19.8K | TypeScript | MIT | |
| prisma-labs/graphql-yoga | 8.5K | TypeScript | MIT | |
| formidablelabs/urql | 9K | TypeScript | MIT | |
| apollographql/graphql-tools | 5.4K | TypeScript | MIT | |
| prisma-labs/graphql-request | 6.1K | TypeScript | MIT | |
| apollographql/apollo-client | 19.8K | TypeScript | MIT | |
| akryum/vue-apollo | 6K | TypeScript | MIT | |
| urql-graphql/urql | 9K | TypeScript | MIT | |
| apollographql/react-apollo | 6.8K | JavaScript | MIT | |
| graphql/graphql-js | 20.4K | TypeScript | MIT |