Terminal JSON viewer & processor
Fx - terminal JSON viewer.
I've taken fx
back to the drawing board and completely rewritten it from the ground up. Excited to share what's new:
fx
now gracefully handles even the most massive JSON files..
and navigate with ease.Pouring my heart and soul into this rewrite has been a journey to make fx
faster and more powerful. If you find value in what I've crafted and want to support its future, consider sponsoring on GitHub. ๐
Would love to hear your thoughts and feedback!
This release adds the FX_SHOW_SIZE
config for showing a number of elements of arrays and objects in collapsed nodes.
This release adds support for .fxrc.js file for default js reducer lang.
This release includes:
This release brings back streaming support to fx:
kubectl logs ... | fx .message
As well as support for simple reducers (only for accessing objects and arrays) right in Go (no runtime is needed):
fx data.json '.foo[42].bar'
915c1e9 Added async reducers in nodejs. 36af650 Refactored Reduce() func to output extra text. bdb1d00 Added delay before booting up interactive view to work better with nodejs cli apps. 3463842 The .fxrc file renamed to .fxrc.js file.
New .fxrc.js file is now an ESM module. You can now use top-level await, import, and require in the same .fxrc.js file.
import 'zx/globals'
Object.assign(global, require('lodash/fp'))
This is the first version of fx implemented in go.