4 ms·
Thanks) Actually fx works like eval: echo 42 | fx ‘x+1’ Or do you mean something else for eval? Fx comes with builtin JS VM, but fx also can exec node,
by medv 4y ago
Thanks)
Actually fx works like eval:
echo 42 | fx ‘x+1’
Or do you mean something else for eval?
Fx comes with builtin JS VM, but fx also can exec node, python or ruby binaries installed on your machine. Of course it needs to be installed prior.
Main difference from jq is interactive JSON viewer, and as well as ability to ise your language of choice for reducers.
I created fx because I was googling how to do this and that in jq constantly, bit JS I know “natively”, so its much easier for me to perform some manipulation with JSON using JS.
And now for people with fluency in Python or Ruby, fx will also work)
I just want to improve DX for them as well. What do you think is missing?