Socket
Socket
Sign inDemoInstall

@takeshape/graphql-validate

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

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
46
decreased by-6.12%
Maintainers
5
Weekly downloads
 
Created
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

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

This supports all the graphql-cli options. You can review the code here.

Keywords

FAQs

Package last updated on 08 Jun 2022

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