mirror of https://github.com/antonmedv/fx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.7 KiB
1.7 KiB
* Function eXecution
Command-line JSON processing tool
Features
- Don't need to learn new syntax
- Plain JavaScript
- Formatting and highlighting
- Standalone binary
- Interactive mode 🎉
Install
$ npm install -g fx
Or via Homebrew
$ brew install fx
Or download standalone binary from releases page.
![](https://c5.patreon.com/external/logo/become_a_patron_button@2x.png)
Usage
Pipe into fx
any JSON and anonymous function for reducing it.
$ cat ... | fx [code ...]
Start interactive mode without passing any arguments.
$ curl ... | fx
Or by passing filename as first argument.
$ fx data.json
Documentation
See full documentation.