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: 7 months 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T22:57:30.000Z (almost 7 years ago)
- Last Synced: 2025-02-24T02:06:15.429Z (8 months 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
[](https://oclif.io)
[](https://npmjs.org/package/gql-schema-dl)
[](https://npmjs.org/package/gql-schema-dl)
[](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
```