graphql-compiler

JSON →
library 1.7.0 ·javascript
verified Jun 7, 2026

graphql-compiler is a code-generation toolkit for GraphQL that transforms GraphQL queries and schemas into type-safe code for various target languages. Version 1.7.0 is the latest stable release, with infrequent updates. It differs from alternatives like graphql-codegen by focusing on compiler-level integrations (e.g., GraphQL Java, Python, or internal DSLs) rather than plugins. Peer dependency on graphql ^0.13.0 means it only works with older GraphQL.js, not modern versions. It supports ESM and CJS, but usage is limited due to the peerdep lock.