There is a JavaScript client for GraphQL-Ruby, graphql-ruby-client
.
You can install it from NPM or Yarn:
yarn add graphql-ruby-client
npm install graphql-ruby-client
The source code is in the graphql-ruby repository.
See detailed guides for more info about its features: