Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/localnerve/json-html
- Owner: localnerve
- License: mit
- Created: 2017-08-02T17:05:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T13:30:28.000Z (3 months ago)
- Last Synced: 2024-10-05T13:35:18.856Z (3 months ago)
- Topics: converter, html, json
- Language: JavaScript
- Homepage:
- Size: 139 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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