fx · Blogs
Blogs from fx on TechiSeek brings together work published by fx. Open any title to read it on the original site. New titles are added as they publish. 39 public listings.
- Decoding JWT Tokens in the Terminal (fx)Decode JWT tokens on the command line with fx. Read the header and payload, convert exp and iat to dates, and check whether a token is expi…
- How-To Guides (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- Listing All Paths and Keys in a JSON Document (fx)List all keys and paths in a JSON document with fx, find the JSON path of any value, and print a path-to-type schema summary from the comma…
- jq to fx: Command Equivalents Cheat Sheet (fx)A jq cheat sheet translated to fx, a jq alternative that uses JavaScript. Side-by-side jq vs fx commands for filtering, mapping, and updati…
- Advanced Usage (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- Handling Large Integers in JSON Without Losing Precision (fx)Keep 64-bit IDs and big integers in JSON exact with fx. Pretty-print, compare, sort, and do BigInt math without JavaScript rounding.
- Configuration (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- Flattening Nested JSON Into Dot-Notation Keys (fx)Flatten nested JSON into dot-notation keys like
- Extracting Specific Fields from JSON (fx)Extract specific fields from JSON in the terminal with fx: get a single value, build an object from several fields, or pluck a field from e…
- Processing AWS CLI JSON Output With fx (fx)Filter and parse AWS CLI JSON output with fx using plain JavaScript instead of --query. EC2 instances, S3 sizes, Lambda runtimes, IAM, and…
- Editing JSON Files In Place (fx)Edit a JSON file in place from the command line with fx: set, add, and delete keys, update nested values and arrays, and save changes safel…
- Merging Two JSON Files in Linux (fx)Merge two or more JSON files into one object on Linux with fx and --slurp. Later files override earlier keys. Works for every JSON file in…
- Exploring REST API Responses With curl and fx (fx)Pipe curl into fx to view, pretty print, and explore JSON API responses in the terminal, extract fields, merge pages, and build request bod…
- Querying GitHub API and gh CLI Output With fx (fx)Parse GitHub API and gh CLI JSON output in the terminal with fx. Filter pull requests, sort repos by stars, count issues by label, and find…
- Converting Between JSON and YAML on the Command Line (fx)Convert YAML to JSON and JSON to YAML on the command line with fx, including Kubernetes manifests, docker-compose files, and multi-document…
- Pretty-Printing Minified JSON Files in the Terminal (fx)Pretty-print minified JSON in the terminal with fx: browse it in an interactive viewer, or print formatted JSON to stdout or a file with fx…
- Searching Large JSON Files Interactively (fx)Search large JSON files in the terminal with fx, an interactive JSON viewer with regex search, fuzzy path jump, and collapsible nodes.
- Editing package.json From the Command Line (fx)Edit package.json from the command line with fx. Read fields, bump the version, add npm scripts, remove dependencies, and save changes in p…
- Renaming and Restructuring JSON Keys (fx)Rename and restructure JSON keys with fx: rename one or many keys, convert snake_case to camelCase, flatten nested objects, add prefixes, a…
- Commands | fx (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- Converting CSV to JSON in the Terminal (fx)Convert CSV to JSON on the command line with fx. Turn rows into objects, cast numbers, handle TSV and quoted fields, then filter and sort.
- Built-in Functions (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- Filtering JSON Arrays by Condition (fx)Filter JSON arrays on the command line with fx. Select objects where a field equals a value, match strings, ranges, and dates, a jq select…
- Working With NDJSON and JSON Lines Files (fx)Process NDJSON and JSON Lines files on the command line with fx. Filter records, convert JSONL to a JSON array and back, and aggregate.
- Parsing JSON Logs in the Terminal (fx)Parse JSON logs in the terminal with fx: stream tail -f output, filter by log level, search messages, count entries per level, and format l…
- Reusable Custom Functions With .fxrc.js (fx)Define reusable custom JavaScript functions for fx in .fxrc.js — pluck, where, sum, avg, pick, omit, toCSV and table helpers for JSON on th…
- Using fx in Shell Scripts and CI Pipelines (fx)Parse JSON in a bash script with fx, read values into shell variables, loop over arrays, build JSON, and use fx in GitHub Actions CI.
- Parsing docker inspect and Docker JSON Output (fx)Parse docker inspect JSON with fx to get a container IP address, ports, mounts, env vars and health, and filter docker ps and image ls JSON…
- Sorting JSON Arrays in the Terminal (fx)Sort a JSON array by key, date, or multiple fields and sort JSON object keys alphabetically from the command line with fx.
- Inspecting kubectl JSON Output With fx (fx)Parse and filter kubectl get pods -o json output with fx. List pod statuses, restarts, images, resource limits, and decode Secrets without…
- Processing Plain Text and Command Output With fx --raw (fx)Process plain text and command output with JavaScript one-liners using fx --raw. An awk alternative for filtering lines and parsing columns…
- Converting Between JSON and MAML on the Command Line (fx)Convert MAML to JSON and JSON to MAML on the command line with fx, query MAML config files with JavaScript, and explore them in the termina…
- How to use multiline arguments with fx? (fx)Pass multiline JavaScript to fx on the command line: why a multi-statement argument returns undefined, and how wrapping it in an arrow func…
- Converting JSON to CSV in the Terminal (fx)Convert a JSON array to CSV or TSV on the command line with fx, with headers, chosen columns, proper quoting, nested fields, and no Python.
- Grouping and Aggregating JSON Data (fx)Group by a field, count occurrences, and sum, average, or total values in JSON arrays on the command line with fx and short JavaScript expr…
- Getting Started (fx)A terminal viewer & processor for JSON, YAML, & TOML (TUI and CLI)
- How to join two arrays by their properties? (fx)Join two JSON arrays by a shared key with fx using plain JavaScript: a left join with find, a faster lookup-map join, and one-to-many joins…
- Comparing Two JSON Files (fx)Compare two JSON files on the command line with fx and diff, ignoring key order, listing changed keys, and matching records by id.
- TOML → JSON on the command line with fx (aka “toml to json cli”) (fx)Convert TOML to JSON on the command line with fx: print Cargo.toml or any TOML file as pretty JSON, save it to a file, and query fields wit…