All Projects → antonmedv → Fx

antonmedv / Fx

Licence: mit
Command-line tool and terminal JSON viewer 🔥

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Fx

Fast Xml Parser
Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback
Stars: ✭ 1,021 (-90.96%)
Mutual labels:  cli, json
Jaydiff
A JSON diff utility
Stars: ✭ 84 (-99.26%)
Mutual labels:  cli, json
Saw
Fast, multi-purpose tool for AWS CloudWatch Logs
Stars: ✭ 1,071 (-90.52%)
Mutual labels:  cli, json
Kt
Kafka command line tool that likes JSON
Stars: ✭ 799 (-92.93%)
Mutual labels:  cli, json
Swagger Merger
🔗 Merge multiple swagger files into a swagger file, support JSON/YAML.
Stars: ✭ 94 (-99.17%)
Mutual labels:  cli, json
Html Table Cli
Create interactive tables from JSON on the command-line
Stars: ✭ 23 (-99.8%)
Mutual labels:  cli, json
Json2go
Create go type representation from json
Stars: ✭ 76 (-99.33%)
Mutual labels:  cli, json
Trdsql
CLI tool that can execute SQL queries on CSV, LTSV, JSON and TBLN. Can output to various formats.
Stars: ✭ 593 (-94.75%)
Mutual labels:  cli, json
Jutil
Command-line utilities for manipulating JSON
Stars: ✭ 91 (-99.19%)
Mutual labels:  cli, json
Catj
Displays JSON files in a flat format.
Stars: ✭ 1,301 (-88.48%)
Mutual labels:  cli, json
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (-93.28%)
Mutual labels:  cli, json
Cli
Get a programmable email address. Automate what happens when you receive emails. It's like Zapier for devs who hate emails.
Stars: ✭ 105 (-99.07%)
Mutual labels:  cli, json
Structured Text Tools
A list of command line tools for manipulating structured text data
Stars: ✭ 6,180 (-45.29%)
Mutual labels:  cli, json
Jplot
iTerm2 expvar/JSON monitoring tool
Stars: ✭ 949 (-91.6%)
Mutual labels:  cli, json
Ponzu
Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
Stars: ✭ 5,373 (-52.43%)
Mutual labels:  cli, json
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (-26.26%)
Mutual labels:  cli, json
Jtc
JSON processing utility
Stars: ✭ 425 (-96.24%)
Mutual labels:  cli, json
Ramda Cli
🐏 A CLI tool for processing data with functional pipelines
Stars: ✭ 515 (-95.44%)
Mutual labels:  cli, json
Prettier Package Json
Prettier formatter for package.json files
Stars: ✭ 86 (-99.24%)
Mutual labels:  cli, json
Yq
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
Stars: ✭ 1,688 (-85.06%)
Mutual labels:  cli, json

fx logo

fx example

* Function eXecution

Build Status Npm Version Brew Version

Command-line JSON processing tool

Features

  • Easy to use
  • Standalone binary
  • Interactive mode 🎉
  • Streaming support 🌊

Install

npm install -g fx

Or via Homebrew

brew install fx

Or download standalone binary from releases

Usage

Start interactive mode without passing any arguments.

$ curl ... | fx

Or by passing filename as first argument.

$ fx data.json

Pass a few JSON files.

cat foo.json bar.json baz.json | fx .message

Use full power of JavaScript.

$ curl ... | fx '.filter(x => x.startsWith("a"))'

Access all lodash (or ramda, etc) methods by using .fxrc file.

$ curl ... | fx '_.groupBy("commit.committer.name")' '_.mapValues(_.size)'

Update JSON using spread operator.

$ echo '{"count": 0}' | fx '{...this, count: 1}'
{
  "count": 1
}

Extract values from maps.

$ fx commits.json | fx .[].author.name

Print formatted JSON to stdout.

$ curl ... | fx .

Pipe JSON logs stream into fx.

$ kubectl logs ... -f | fx .message

And try this:

$ fx --life

Documentation

See full documentation.

Links

Related

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].