@localnerve/json-html
v7.0.1
Published
A command to convert json to collapsible html using stdin/out
Downloads
21
Maintainers
Readme
json-html
A simple, safe command to convert json to collapsible html for human inspection.
A command-line utility that takes json from stdin and writes collapsible html to stdout.
This exists to provide an alternative to popular "json viewer" Chrome extensions.
Usage
Install
npm install -g @localnerve/json-html
Run
cat input.json | json-html >output.html
// or go at an endpoint directly
curl 'https://api.example.com/path/item' | json-html >output.html
License
License: MIT