@localnerve/json-html

6.0.0 • Public • Published

json-html

A simple, safe command to convert json to collapsible html for human inspection.

Verify

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

/@localnerve/json-html/

    Package Sidebar

    Install

    npm i @localnerve/json-html

    Weekly Downloads

    7

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    89.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • localnerve