
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
generate-graphql-introspection
Advanced tools
Generate introspection from GraphQL schema.
npm i generate-graphql-introspection --save-dev
Usage:
npx generate-graphql-introspection -s schema.graphql -o introspection.json
Usage:
# All .graphql files in the graphql directory
generate-graphql-introspection -s "graphql/*.graphql" -o introspection.json
# Specify one file
generate-graphql-introspection -s graphql/schema.graphql -o introspection.json
# Specify multiple files
generate-graphql-introspection -s graphql/user.graphql -s graphql/order.graphql -o introspection.json
Options:
-s --source Specify the source glob.
-i --ignore Specify the rule to ignore files in source.
-o --output Specify the output file.
-h --help Print help message.
import { generateGraphQLIntrospection } from 'generate-graphql-introspection'
generateGraphQLIntrospection({
source: ['graphql/*.graphql'],
output: 'introspection.json'
})
FAQs
Generate introspection from GraphQL schema.
We found that generate-graphql-introspection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.