GraphQL.js Documentation
GraphQL.js is the official JavaScript implementation of the GraphQL specification. It provides the parser, validator, executor, type system, and utilities used to build GraphQL servers, clients, tools, and schema workflows in JavaScript and TypeScript.
Version reference
| Version area | Start here |
|---|---|
| Stable v16 API | v16 API reference |
| v17 release candidate API | v17 API reference |
| v16 to v17 changes | What changed in GraphQL.js v17 |
| v17 specification experiments | Experimental Specification Features |
| v17 runtime features | GraphQL Harness, Abort Signals, Execution Hooks, Node.js tracing channels |
The guides in this section describe GraphQL concepts and GraphQL.js behavior. The API sections document the public exports by package module.
GraphQL.js v17 also publishes Node.js node:diagnostics_channel tracing
events, mainly for application performance monitoring (APM) integrations that
observe parse, validate, execute, subscribe, and resolver lifecycle boundaries.
See the Diagnostics API reference for
the channel names and payload shapes.