GraphQL.js
graphql-js.org
- Free plan
- Web
- API
What GraphQL.js is
GraphQL.js is a JavaScript library for building GraphQL servers, clients, tools, and schema workflows in JavaScript and TypeScript. It includes a parser, validator, executor, type system, and utilities. Developers can define a type schema and serve queries against it; the graphql function checks queries for syntax and meaning before execution and reports invalid ones. The documentation identifies v17 as the current stable release, while v16 remains available for projects that need older Node.js versions. The getting-started guide requires Node.js 22 or newer and provides installation commands for npm, pnpm, yarn, and bun. GraphQL.js can run in a Node server or a browser, and distributes CommonJS and ESModule files for runtimes and bundlers. The project says webpack and rollup builds should work. It is free, MIT-licensed, and self-hosted. The project supports its latest major version and provides bug and security fixes for the previous one; older versions are unsupported, and there is no Long-Term Support version.
Who it suits
GraphQL.js suits developers building GraphQL services or tooling in JavaScript or TypeScript. It can also suit projects that need to run GraphQL in a browser or Node server.
Good to know, and what to watch
- Includes parsing, validation, execution, and type-system tools
- Supports browser and Node server use
- Offers npm, pnpm, yarn, and bun installation
- Free and MIT-licensed
- Getting-started instructions require Node.js 22 or newer
- Versions older than the previous major are unsupported
- No Long-Term Support version
Plans
Every plan and priceGraphQL.js
Free plan
The verdict
GraphQL.js provides the core pieces for defining schemas and handling GraphQL queries in JavaScript and TypeScript. Check the required Node.js version and version-support policy against your project before adopting it.
What the maker publishes
- Browser use
- GraphQL.js can be used in a Node server and in a browser, and the project says webpack and rollup builds should work. source
- Community support
- The project points users to its community resources and a Discord channel for upgrade assistance. source
- Core capabilities
- GraphQL.js lets developers build a type schema and serve queries against that schema. source
- Current version
- The documentation identifies v17 as the current stable release and says v16 remains available for projects needing older Node.js versions. source
- Installation
- The guide provides installation commands for npm, pnpm, yarn, and bun. source
- License
- GraphQL.js is MIT-licensed. source
- Long-term support
- The project says it does not currently offer a Long-Term Support version. source
- Maintainer organization
- The GraphQL Foundation describes itself as a neutral foundation that supports GraphQL documentation, tools, events, and community infrastructure. source
- Module formats
- The project distributes CommonJS and ESModule files for runtimes and bundlers. source
- Purpose
- GraphQL.js is the official JavaScript implementation of the GraphQL specification, with a parser, validator, executor, type system, and utilities. source
- Runtime support
- The getting started guide requires Node.js 22 or newer for its instructions. source
- Security updates
- The project says critical security updates are applied to the current and previous major versions. source
- Use cases
- The project describes GraphQL.js as a library for building GraphQL servers, clients, tools, and schema workflows in JavaScript and TypeScript. source
- Validation
- The graphql function checks a query for syntactic and semantic validity before execution and reports errors when it is invalid. source
- Version support
- The project says it fully supports the latest major version and supports the previous major version with bug and security fixes, while versions older than that are unsupported. source
Checked against the maker's pages on 7 Oct 2026.