Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rlancer/graphql-download-schema
- Owner: rlancer
- Created: 2018-10-31T23:22:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T22:57:30.000Z (about 6 years ago)
- Last Synced: 2024-01-02T08:10:59.525Z (about 1 year ago)
- Topics: graphq, npm-module, npm-package
- Language: TypeScript
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/graphqlOPTIONS
-h, --help show CLI help
-o, --out=out [default: schema.graphql] File name of downloaded schema
-v, --version show CLI version
```