Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@localnerve/json-html

2.0.0 • Public • Published

json-html

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

Build Status

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

Install

npm i @localnerve/json-html

DownloadsWeekly Downloads

8

Version

2.0.0

License

MIT

Unpacked Size

88.7 kB

Total Files

8

Last publish

Collaborators

  • avatar