mikefarah/yq
yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 1 day ago, with 162 contributors on GitHub.
Peaked at #71 in the weekly ranking the week of Aug 16, its best in the past year.
Use Cases & Benefits
- Processes and transforms YAML, JSON, XML, CSV, TOML, HCL, and properties files via a portable command-line interface.
- Offers jq-like syntax with multi-format support and in-place editing while preserving formatting and comments.
- Use for automating configuration file updates in DevOps pipelines across diverse data formats.
- Use for converting between data serialization formats like JSON to YAML or XML to TOML in scripting workflows.
- Use for querying and manipulating complex nested data structures in configuration files for infrastructure as code.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
A lightweight and portable command-line YAML, JSON, INI and XML processor.
yquses jq (a popular JSON processor) like syntax but works with yaml files as well as json, kyaml, xml, ini, properties, csv and tsv. It doesn't yet support everythingjqdoes - but it does support the most common operations and functions, and more is being added continuously.yq is written in Go - so you can download a dependency free binary for your platform and you are good to go! If you prefer there are a variety of package managers that can be used as well as Docker and Podman, all listed below.
Update a yaml file in place:
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+413 stars over 85 days across 17 snapshot days; best day +12 on Aug 19.
Forks
1.3K+474
Open issues
323+29
Compared with peers in CLI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| morluto/rea | 450.0K | +22.9K | 75 | 16 days ago |
| mattpocock/skills | 320.9K | +9.5K | 75 | 12 days ago |
| vercel-labs/agent-desktop | 21.4K | +8.7K | 75 | 5 days ago |
| stablyai/orca | 121.4K | +6.7K | 75 | today |
| vercel-labs/agent-browser | 49.2K | +3.8K | 75 | 1 day ago |
| mikefarah/yq | 16.3K | — | 75 | 1 day ago |
| Category median | 121.4K | +8.7K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description