headson
« Back to VersTracker
Description:
Head/tail for structured data
Type: Formula  |  Tracked Since: Jan 2, 2026
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli rust data-processing csv json devtools
Install: brew install headson
About:
headson is a command-line utility designed to apply head and tail operations on structured data formats like CSV, JSON, and NDJSON. It preserves the integrity of the data structure, ensuring that headers and schema information remain intact in the output. This tool is ideal for quickly inspecting the beginning or end of large datasets without corrupting the file format.
Key Features:
  • Supports multiple structured formats (CSV, JSON, NDJSON)
  • Preserves headers and data structure
  • Efficient processing of large files
  • Rust-based implementation for high performance
Use Cases:
  • Previewing the first or last N records of a large log file
  • Extracting header information and sample data from CSVs
  • Debugging data pipelines by inspecting input/output streams
Alternatives:
  • head/tail – Standard unix tools are faster but break JSON/CSV structure by treating lines as independent entities.
  • jq – More powerful for complex JSON transformations, but requires verbose syntax for simple head/tail operations.
Version History
Detected Version Rev Change Commit
Jan 2, 2026 11:29pm 0 META 9056c5de