🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

graphcurl

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphcurl

GraphQL cURL-like command line client with #import support

0.1.0
Source
npm
Version published
Maintainers
1
Created
Source

Graphcurl

GraphQL cURL-like command line client with #import support

Getting Started

Install

You need Node.js and optionally Yarn.

You can install graphcurl:

yarn global add graphcurl
# or: npm install -g graphcurl

Or you can run it without installing:

npx graphcurl

Usage

Usage: gc|graphcurl [options]

Options:
  -V, --version                        output the version number
  -a, --api-url <url>                  API endpoint URL
  -o, --output <file>                  Write to file instead of stdout
  -q, --query <query|@file|->          GraphQL query (or mutation), files may use #import
  -d, --data <variable:value|@file|->  Query variables, file may be JSON or YAML (default: [])
  -h, --header <header:value|@file|->  Custom HTTP headers, file may be JSON or YAML (default: [])
  -v, --verbose                        Output more details
  -D, --debug                          Output debug data
  -h, --help                           output usage information

Roadmap

Development

Code Style

Install Prettier support for used editor/IDE.

FAQs

Package last updated on 14 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts