> For the complete documentation index, see [llms.txt](https://guide.graphqleditor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.graphqleditor.com/graphql-editor/graph/generate-typescript-javascript-client-library.md).

# Generate TypeScript library

Generate GraphQL client for your schema in seconds

GraphQL Editor offers an easy way to generate autocomplete JS/TS clients for Browser/Node/React Native. Working with a generated client provides an easy and **type-safe** way for developers to work with their schema. To generate an autocomplete library your schema should  at least have a **root schema Query type.**

To generate a GraphQL Client:

1. Click the Export schema icon
2. Select Export autocomplete libraries

<figure><img src="https://2595489265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LkU3PZk9D4XQW0UI1bP%2Fuploads%2FaCzi9PLvT0ReX5Mc9M6q%2Fimage.png?alt=media&amp;token=70d7858d-c67e-47c7-a86d-af028984f730" alt=""><figcaption><p>Export option in the menu</p></figcaption></figure>
