Socket
Socket
Sign inDemoInstall

@takeshape/graphql-validate

Package Overview
Dependencies
17
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@takeshape/graphql-validate

Validates your project's GraphQL queries. All code was extraced and adapted from [GraphQL Inspector](https://github.com/kamilkisiela/graphql-inspector).


Version published
Weekly downloads
34
decreased by-20.93%
Maintainers
4
Created
Weekly downloads
 

Readme

Source

graphql-validate

Validates your project's GraphQL queries. All code was extraced and adapted from GraphQL Inspector.

Why?

The original code is being updated, and there is no published version that works with graphql v16. This is particularly a problem with npm v8 which throws an error due to peer conflicts.

Installation

$ npm add @takeshape/graphql-validate -D

You must have a valid graphql-config in your project root.

Usage

In your package.json, add the following scripts:

{
  "graphql-validate": "graphql-validate"
}

Then run

$ npm run graphql-validate

Options

$ graphql-validate --help

This supports all the graphql-cli options.

Keywords

FAQs

Last updated on 09 Jun 2023

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc