Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/localnerve/json-html

A simple, safe command to convert json to collapsible html for human inspection.
https://github.com/localnerve/json-html

converter html json

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# json-html

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

![Verify](https://github.com/localnerve/json-html/workflows/Verify/badge.svg)

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
```shell
npm install -g @localnerve/json-html
```

### Run
```shell
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