New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hql-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hql-cli

A CLI tool which initates a GraphiQL playground with hql-tag support.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

hql-cli: GraphiQL playground

This is a CLI tool which initates a GraphiQL playground with hql-tag support.

To initate a fresh GraphiQL:

npx hql-cli -i <URL-OF-THE-GRAPHQL-ENDPOINT>

or 

npx hql-cli --init <URL-OF-THE-GRAPHQL-ENDPOINT>

or 

npx hql-cli // 'http://localhost:4000/graphql' is considered as endpoint

This creates a new folder hql-graphiql in the current directory with complete configurations. If no URL is passed, http://localhost:4000/graphql is considered as default value.

Modify URL

In an existing GraphiQL playground:

Setup using hql-cli

Change the fetch URL graphQLFetcher function in hql-graphiql/src/index.js file

Pre-existing setup

Refer to template/index.js template to add support for hql-tag in your setup.

TODO:

  • Fix GraphiQL warning for hql-specific arguements

Keywords

FAQs

Package last updated on 05 Jul 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc