2 stable releases
1.1.0 | Oct 2, 2022 |
---|---|
1.0.0 | Oct 1, 2022 |
#220 in Visualization
12KB
242 lines
- Toison Toison presents a JSON file as a heatmap representing the relative size of all its members. This should help you find bottlenecks and optimize your JSON files.
** Installation To install Toison, you need the [[https://www.rust-lang.org/en-US/install.html][Rust compiler]]. You can then build toison using =cargo=, the Rust build tool:
#+begin_src bash cargo install toison #+end_src
** Usage #+begin_src Usage: toison [OPTIONS] <JSON_FILE>
Arguments: <JSON_FILE>
Options: -t, --threshold hide nodes under this percentge of the total size [default: 0] -m, --max-depth <MAX_DEPTH> the maximum depth to render; if negative, counts from the deepest node -u, --unit the unit with which to weight nodes [default: bytes] [possible values: bytes, children] -c, --colors how to colorize output [default: hellscape] [possible values: hellscape, gradient, monochrome, none] -h, --help Print help information -V, --version Print version information #+end_src
-
License Toison is distributed under the GPL-compatible [[file:LICENSE][EUPL v1.2]] license.
-
Changelog ** 1.1.0
- Add several color schemes
- Add the
max-depthflag
Dependencies
~2–13MB
~96K SLoC