Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-codegen/introspection

Package Overview
Dependencies
Maintainers
4
Versions
4860
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-codegen/introspection

GraphQL Code Generator plugin for generating an introspection JSON file for a GraphQLSchema

  • 4.0.2-rc-20240206142827-ab786c9ddd52385c10ac46e7c80a11d44cad619f
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
744K
increased by2.76%
Maintainers
4
Weekly downloads
 
Created

What is @graphql-codegen/introspection?

@graphql-codegen/introspection is a plugin for GraphQL Code Generator that allows you to generate GraphQL introspection files. These files can be used to understand the structure of your GraphQL schema, which is useful for various purposes such as documentation, client-side validation, and more.

What are @graphql-codegen/introspection's main functionalities?

Generate Introspection File

This feature allows you to generate a JSON file containing the introspection query result of your GraphQL schema. This file can be used by various tools to understand the structure of your schema.

{"schema":"http://localhost:4000/graphql","documents":null,"generates":{"./schema.json":{"plugins":["introspection"]}}}

Customizing Introspection Output

This feature allows you to customize the introspection output. For example, you can minify the JSON output to reduce its size.

{"schema":"http://localhost:4000/graphql","documents":null,"generates":{"./schema.json":{"plugins":[{"introspection":{"minify":true}}]}}}

Other packages similar to @graphql-codegen/introspection

FAQs

Package last updated on 06 Feb 2024

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