A CLI tool that formats the JSON output from `yarn outdated --json` into human-readable or machine-parseable formats such as markdown, JSON, CSV, or Mackerel service metrics. v4.0.0 is the current stable release. Compared to manual parsing, it provides a structured, configurable output with support for excluding packages and linking changelog URLs. It also works with `npm outdated --json --long` with reduced functionality. Designed for CI/CD pipelines and dependency management automation.
npm install yarn-outdated-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Pipe JSON from yarn outdated and format as markdown, or filter minor/patch upgrades using JSON output and jq.
Use shell pipeline as shown in examples.
Run `npx format-yarn-outdated` or add to scripts as `format-yarn-outdated`.
Use `npm outdated --json --long | format-yarn-outdated`.
If not using custom changelogs, the fetch dependency is unnecessary bloat. Consider removing in future versions.
Prepare .yml files with the required structure.
Use `npx format-yarn-outdated` or run `./node_modules/.bin/format-yarn-outdated`.
Ensure you run `yarn outdated --json` and not `yarn outdated` without --json.
Use absolute path or adjust cwd to where the excludes file is located.