This utility package, `snyk-to-md` (current stable version 1.0.0), provides a command-line interface for transforming the JSON output generated by the `snyk test --json` command into a human-readable Markdown report. It simplifies the process of integrating Snyk vulnerability reports into documentation workflows or sharing findings without requiring users to navigate complex JSON structures. The package's primary function is to consume the JSON stream via standard input (stdin) or a file, then output a formatted Markdown file, typically named `Snyk_Report.md` by default or a user-specified path. Its release cadence is likely infrequent, as it serves a specific, stable transformation purpose. Key differentiators include its singular focus on Markdown output, direct piping capability, and ease of use as a global CLI tool for local reporting.
npm install snyk-to-mdVerified import paths — ran on the pinned version, not inferred.
Demonstrates the global installation and primary command-line usage of `snyk-to-md` to convert Snyk JSON vulnerability reports into a Markdown file.
Ensure `npm install -g snyk` or an equivalent installation method for the Snyk CLI has been completed.
Always pipe the direct output of `snyk test --json` to `snyk-to-md` to ensure correct input formatting.
Create the output directory before running the command, or adjust the path to a location with appropriate write permissions.
Run `npm install -g snyk-to-md` to install the CLI tool globally.
Verify that `snyk test --json` is running successfully and producing valid, complete Snyk JSON output before piping it to `snyk-to-md`.
Run the command from a directory where you have write permissions, or specify an output path (`-o`) to a location with appropriate permissions.
No dependency data recorded yet.