Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Generate static HTML documentation for GraphQL APIs.
GraphiQL is great. So are tools like Altair and Insomnia.
docql
comes in when you want documentation for GraphQL APIs that lives in a
shared place. Having HTML documentation allows teams to link to specific
objects and fields to enhance conversation, reference the docs when away from
the computer, and generally have a place to see the entire GraphQL schema at a
glance.
[github v4 generated]: [swapi generated]:
There are two ways to use docql
.
The easiest way to get started is to run docql
off of the npm registry.
npx docql -e $API -o ./doc
If native binaries are more your style, each release comes with native binaries on the GitHub release page.
docql -e $API -o ./doc
Or you can install your own from crates.io using Rust's cargo
.
cargo install docql
docql -e $API -o ./doc
USAGE:
docql [OPTIONS] --endpoint <url> --output <path>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-e, --endpoint <url> The URL of the GraphQL endpoint to document
-x, --header <header>... Additional headers when executing the GraphQL introspection query (e.g. `-x
"Authorization: Bearer abcdef"`
-n, --name <name> The name to give to the schema (used in the title of the page) [default: GraphQL Schema]
-o, --output <path> The directory to put the generated documentation
FAQs
Generate static HTML documentation for GraphQL APIs.
The npm package docql receives a total of 0 weekly downloads. As such, docql popularity was classified as not popular.
We found that docql demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.