Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
graphql-auto-query
Advanced tools
Automatic generation of GraphQL queries from GraphQL schemas
schema.graphql -> query.graphql
USAGE | [option] <path> | |
ARGUMENTS | <path> | url or path of schema.graphql |
OPTIONS | -d, --depth | Output depth levels (default 2) |
-o, --output | output file path |
# Standard output from server
graphql-auto-query http://localhost:3000/graphql
# Set output field hierarchy depth to 3
graphql-auto-query http://localhost:3000/graphql -d 3
# File output from local files
graphql-auto-query schema/schema.graphql -o query.graphql
import fs from "fs";
import { generate } from "graphql-auto-query";
const schema = fs.readFileSync("schema.graphql", "utf-8");
console.log(generate(schema));
FAQs
Automatic generation of GraphQL queries from GraphQL schemas
The npm package graphql-auto-query receives a total of 247 weekly downloads. As such, graphql-auto-query popularity was classified as not popular.
We found that graphql-auto-query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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 uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.