{"library":"gql-generator","type":"library","category":null,"description":"gql-generator is a utility designed to automatically generate GraphQL queries, mutations, and subscriptions from a GraphQL schema file. Its primary use case is to streamline the process of writing API tests by removing the need for manual query construction, thereby reducing boilerplate and potential human error. The current stable version is 2.0.0. While a specific release cadence isn't explicitly stated, the project appears to be maintained as a pragmatic tool for testing. A key differentiator is its focus on test automation, generating comprehensive queries that expand all fields by default, with built-in mechanisms to handle recursive types and deprecated fields, which can be configured via CLI flags or programmatic options. It outputs CJS modules containing the generated queries.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","graphql","query","generator"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gql-generator","imports":["const gqlg = require('gql-generator')","const queries = require('./path/to/output')","const mutations = require('./path/to/output/mutations')"]},{"cmd":"yarn add gql-generator","imports":[]},{"cmd":"pnpm add gql-generator","imports":[]}],"homepage":null,"github":"https://github.com/timqian/gql-generator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gql-generator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gql-generator/compatibility"}}