Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/queckezz/inspect-json
:flashlight: Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools
https://github.com/queckezz/inspect-json
Last synced: about 1 month ago
JSON representation
:flashlight: Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools
- Host: GitHub
- URL: https://github.com/queckezz/inspect-json
- Owner: queckezz
- License: mit
- Created: 2016-11-24T17:35:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-28T08:36:14.000Z (about 8 years ago)
- Last Synced: 2024-10-07T12:38:28.428Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 264 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
![./banner](art/banner.png)
**Robust manipulation and inspection of JSON data using the already familiar Chromium Devtools** - It allows for *quick* inspection of arbitrary JSON strucures. Allows JSON to be passed in from **URLs**, **Files** and **`process.stdin`**. The JSON can be manipulated while inspecting by accessing `window.json` through the console.
[![npm version][version-image]][version-url]
[![dependency status][david-image]][david-url]
[![license][license-image]][license-url]
[![js standard style][standard-image]][standard-url]
[![downloads per month][downloads-image]][downloads-url]## Installation
```
> npm install -g inspect-json
```## Examples
Inspect JSON from the following types.
**File:**
```
> inspect-json example.json
```**REST Endpoint:**
```
> inspect-json https://api.github.com/users/mbostock
```**Standard Input (CLI):**
```
> echo { "test": true } | inspect-json
```**Inspecting webpack output stats:**
Let's say you have a webpack stats object that you want to analyse. How would you go about doing that? Just pipe it into `inspect-json`
```
> webpack --stats | inspect-json
```## License
[MIT][license-url]
[version-image]: https://img.shields.io/npm/v/inspect-json.svg?style=flat-square
[version-url]: https://npmjs.org/package/inspect-json[downloads-image]: https://img.shields.io/npm/dm/inspect-json.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/inspect-json[david-image]: http://img.shields.io/david/queckezz/inspect-json.svg?style=flat-square
[david-url]: https://david-dm.org/queckezz/inspect-json[standard-image]: https://img.shields.io/badge/code-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard[license-image]: http://img.shields.io/npm/l/inspect-json.svg?style=flat-square
[license-url]: ./license