qmetrics.net

GraphQL.js

JavaScript reference implementation of the GraphQL query language

GraphQL.js screenshot

GraphQL.js implements the GraphQL specification for JavaScript and TypeScript. It supplies parsing, validation, execution, and schema building for servers, clients, and tools.

Overview

GraphQL.js is the official JavaScript implementation of the GraphQL specification. It provides the parser, validator, executor, type system, and utilities needed to define schemas and run queries in JavaScript and TypeScript environments.

Developers install it from npm and map a GraphQL type schema to their codebase, then serve query results through the graphql function. That entry point checks syntax and semantics before execution and surfaces errors when a query is invalid.

The package works in Node.js servers and in browsers, and ships with both CommonJS and ES module builds so bundlers can include only the APIs in use. GraphiQL and other GraphQL tooling builds on this library.

Documentation covers schema construction, operation execution, error handling, testing, and production deployment. Upgrade guides walk through major version changes when moving between release lines.

Key features

  • GraphQL type schema construction
  • Query parsing and validation
  • Query execution with resolvers
  • CommonJS and ES module builds
  • Node.js and browser runtimes
  • Schema and operation utilities
  • Release upgrade guides
  • Experimental specification features

Use cases

  • Building GraphQL API servers
  • Validating GraphQL operations
  • Embedding GraphQL in browser apps
  • Powering GraphQL developer tools

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT