{"library":"tiny-graphql-query-compiler","type":"library","category":null,"description":"A JavaScript DSL for constructing GraphQL queries programmatically. v0.2.3 (pre-1.0, experimental). Converts a plain object representation into a valid GraphQL query string with support for arguments, variables, and fragment composition. Key differentiators: extremely lightweight (~1KB), no runtime GraphQL parser, TypeScript-first with full type inference for fields and arguments, and includes compileWithVariableValues for extracting both query and variable bindings. Ideal for codebases that need to dynamically generate queries without the overhead of graphql-tag or Apollo.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install tiny-graphql-query-compiler","imports":["import { compile } from 'tiny-graphql-query-compiler'","import { Call } from 'tiny-graphql-query-compiler'","import { Var } from 'tiny-graphql-query-compiler'","import { compileWithVariableValues } from 'tiny-graphql-query-compiler'"]},{"cmd":"yarn add tiny-graphql-query-compiler","imports":[]},{"cmd":"pnpm add tiny-graphql-query-compiler","imports":[]}],"homepage":null,"github":"https://github.com/gadget-inc/js-clients","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tiny-graphql-query-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}