Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rlancer/graphql-download-schema

Takes a GraphQL endpoint and downloads the schema in text
https://github.com/rlancer/graphql-download-schema

graphq npm-module npm-package

Last synced: about 1 month ago
JSON representation

Takes a GraphQL endpoint and downloads the schema in text

Awesome Lists containing this project

README

        

# Download a GraphQL schema

Dead simple way to download a GraphQL schema and save it to a file

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/gql-schema-dl.svg)](https://npmjs.org/package/gql-schema-dl)
[![Downloads/week](https://img.shields.io/npm/dw/gql-schema-dl.svg)](https://npmjs.org/package/gql-schema-dl)
[![License](https://img.shields.io/npm/l/gql-schema-dl.svg)](https://github.com/rlancer/graphql-download-schema/blob/master/package.json)

# Usage

```bash
USAGE
$ npm i -g gql-schema-dl
$ gql-schema-dl [ENDPOINT]

ARGUMENTS
ENDPOINT URI to your GraphQL endpoint, ex: https://api.example.com/graphql

OPTIONS
-h, --help show CLI help
-o, --out=out [default: schema.graphql] File name of downloaded schema
-v, --version show CLI version
```