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

@graphql-codegen/introspection

Package Overview
Dependencies
Maintainers
4
Versions
4882
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.3
latest
Source
npm
Version published
Weekly downloads
893K
14.22%
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 20 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