gql-sdl

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

CLI tool for downloading GraphQL schemas (SDL or JSON) from remote endpoints via introspection. Version 1.1.0 is the current stable release; the tool is simple, single-purpose, and actively maintained. Unlike alternatives (e.g., graphql-cli, get-graphql-schema), gql-sdl does not require a full workflow setup and works out of the box with `npx`. It supports custom headers, output to file, and introspection options from GraphQL.js. Written in TypeScript and ships type definitions.