Minimal GraphQL client supporting Node and browsers for scripts or simple apps. Most simple & lightweight GraphQL client. Promise-based API (works with async / await) ESM native package (CJS build is included for now as well, but will eventually be removed) TypeScript support. Isomorphic (works with Node/browsers). Installing and configuring GraphQL Code Generator requires a few steps in order to get end-to-end typed GraphQL operations using the provided graphql() helper. If you want to change the endpoint after the GraphQLClient has been initialized, you can use the setEndpoint() function. It's possible to recalculate the global client headers dynamically before each request. If you want to use non-standard JSON types, you can use your own JSON serializer.

Features

  • Authentication via HTTP header
  • Pass headers in each request
  • Custom JSON serializer
  • Use GraphQL Document variables
  • GraphQL Document variables
  • Use a custom fetch method

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow graphql-request

graphql-request Web Site

Other Useful Business Software
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of graphql-request!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2023-02-27