gql-ast

JSON →
library 3.11.0 ·javascript
verified Jun 7, 2026

A utility library for constructing, parsing, and manipulating GraphQL ASTs programmatically. Version 3.11.0 is current, with regular weekly releases. Unlike codegen-based tools, gql-ast provides a lightweight, type-safe way to build and inspect GraphQL documents and schemas in JavaScript/TypeScript without a runtime dependency on GraphQL.js. Ships full TypeScript definitions and is ESM-first since v3.