A toolkit for generating GraphQL clients in TypeScript from your GraphQL endpoints.
This repository provides the following packages:
generate-graphql-client
A command line tool to generate TypeScript code from your GraphQL schema. This module should be installed as dev dependency. You can click here to read the docs.generate-graphql-introspection
A command line tool to generate GraphQL introspection JSON file from GraphQL schema.generate-graphql-query
A module to help us generate GraphQL query from JavaScript object. This module has zero dependencies and the bundle size of it is small (under 3kB). This module should be installed as a dependency for your web application. You can click here to read the docs.
To get started, please read the docs of generate-graphql-client.