← All tools

graphqurl

Popularity 65 Updated Development & Build

cURL for GraphQL - CLI and JS library for making GraphQL queries

npmauto-collected

Installation

npm
npm install -g graphqurl

Install with npm.

graphqurl

graphqurl is a curl like CLI for GraphQL. It's features include:

  • CLI for making GraphQL queries. It also provisions queries with autocomplete.
  • Use as a library with Node.js or from the browser
  • Supports subscriptions
  • Export GraphQL schema

Note: v2.0.0 onwards, support for GraphiQL (UI) is removed. See this issue for more details. Use v1.0.3 for GraphiQL feature.

Made with :heart: by <a href="https://hasura.io"Hasura</a

---------------- ---

----------------

Table of contents

  • Installation
  • Steps to Install CLI
  • Steps to Install Node Library
  • Usage
  • CLI
  • Query
  • Auto-complete
  • Subscription
  • Export schema
  • Command
  • Args
  • Flag Reference
  • Node Library
  • Using callbacks:
  • Using Promises:
  • API
  • createClient(options)
  • Client
  • More Examples
  • Node Library
  • Queries and Mutations
  • Subscriptions
  • CLI

Installation

Steps to Install CLI

npm install -g graphqurl

Steps to Install Node Library

npm install --save graphqurl

Usage