Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Add fx #42

Closed
wants to merge 1 commit into from
Closed

Add fx #42

wants to merge 1 commit into from

Conversation

antonmedv
Copy link

Take a look at fx 馃敟

It's plain JavaScript cli JSON manipulating tool (alternative to jq) with standalone binary.

program | fx 'input => input.filter(x => ...).map(x => {a: a.x})'

@herrbischoff
Copy link
Owner

Thanks but I'm trying to avoid Node.js command line tools, especially ones that duplicate existing tools. jq does pretty much everything this tool does and is written in C. Also, I'd question its general idea. When you have Node.js installed in the first place, you can just code whatever you need in there. A tool like jq is for situations when you can't or don't want to do that.

@antonmedv antonmedv deleted the patch-1 branch January 28, 2018 07:42
@antonmedv
Copy link
Author

Main difference is what you don't need to learn new syntax. Of cause you can write whatever you want, even in C, bash, etc. fx has standalone binaries so you don't need nodejs.
I think using fx is much more pleasant and clear than jq (if you not familiar with this syntax)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants