Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maraisr/fgs

Fetch GraphQL Schema from a GraphQL HTTP Endpoint from grphql-config that is Relay (rust) aware.
https://github.com/maraisr/fgs

devtools graphql graphql-schema relay

Last synced: about 1 month ago
JSON representation

Fetch GraphQL Schema from a GraphQL HTTP Endpoint from grphql-config that is Relay (rust) aware.

Awesome Lists containing this project

README

        

# fgs

**F**etch **G**raphQL **S**chema fetches a remote GraphQL schema to a local file.


js downloads


gzip size


brotli size




This is free to use software, but if you do like it, consisder supporting me ❤️

[![sponsor me](https://badgen.net/badge/icon/sponsor?icon=github&label&color=gray)](https://github.com/sponsors/maraisr)
[![buy me a coffee](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label&color=gray)](https://www.buymeacoffee.com/marais)

## 💡 Features

- graphql-config multi-project integration
- relay (rust) aware
- json/sdl output

## ⚙️ Install

```sh
npm install fgs
```

## 🚀 Usage

uses [graphql-config](https://graphql-config.com/) to find the schema endpoint

```sh
# fetch schema for endpoint `next`
$ fgs

# fetch schema for endpoint `my-env`
$ fgs --endpoint my-env

# fetch schema into sdl as json
$ fgs --json
```

## License

MIT © [Marais Rossouw](https://marais.io)