graphql-request: Detailed Overview & Metrics

v7.1.2(5 months ago)

This package is actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 1Monthly npm downloads

graphql-request is a lightweight and flexible JavaScript library for making GraphQL requests. It simplifies the process of sending queries and mutations to a GraphQL server by providing a clean and intuitive API. With graphql-request, you can easily define your GraphQL operations and execute them with minimal setup and configuration.

Compared to other GraphQL client libraries like Apollo Client or Relay, graphql-request is more lightweight and focused specifically on making HTTP requests to a GraphQL API. It is actively maintained and offers a simple yet powerful solution for interacting with GraphQL servers.

Alternatives:
apollo-client+
urql+
relay-runtime+
graphql-hooks+
apollo-angular+
aws-amplify+
react-query+
graphql-tag+
lokka+
graphql-yoga+

Tags: javascriptgraphqlclientrequestsflexible